The Trunk: Network-ul.158.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Network-ul.158.mcz

commits-2
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.
+ !