[squeak-dev] The Trunk: Network-ul.158.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jan 18 19:37:25 UTC 2015


Levente Uzonyi uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ul.158.mcz

==================== Summary ====================

Name: Network-ul.158
Author: ul
Time: 18 January 2015, 8:35:56.429 pm
UUID: 368b4f4c-ccd0-49d8-8b41-0909803eda8a
Ancestors: Network-bf.157

Added Socket >> #setPort:interface:, which lets one bind an UDP socket to the specified IP address and port.

=============== Diff against Network-bf.157 ===============

Item was added:
+ ----- Method: Socket>>setPort:interface: (in category 'datagrams') -----
+ setPort: portNumber interface: ifAddr
+ 	"Allow an UDP socket to bind to a specific interface."
+  
+ 	self primSocket: socketHandle listenOn: portNumber backlogSize: 0 interface: ifAddr asByteArray.
+ !



More information about the Squeak-dev mailing list