Squeak listening to specific IP Addresses?

John M McIntosh johnmci at smalltalkconsulting.com
Tue Jan 20 01:05:54 UTC 2004

[ENH] Binding Sockets to specific interfaces (resend)
	Date: 	December 5, 2003 12:16:54 PM PST
A note from Andreas, which means the windows support must be there,.
Note of VM Support  in 3.7a VMMaker change
Change set:
OldSocket methodsFor: 'primitives' stamp: 'ikp 9/1/2003 20:55'!
primSocket: aHandle listenOn: portNumber backlogSize: backlog  
interface: ifAddr

	From: 	  ian.piumarta at inria.fr
	Subject: 	Re: How to bind a listening socket to an address?
	Date: 	September 1, 2003 12:41:02 PM PDT
The required primitive is now in my 3.6-beta9 Unix VMs, source and

Yes, also in the 3.7.x macintosh carbon VMs...

On Jan 19, 2004, at 4:45 PM, Nevin Pratt wrote:

> I've got Squeak running on a multi-homed machine.  However...
> ...it listens on a given port, regardless of which IP any given  
> request targeted.  So, this implies that the answer to both of your  
> questions is "NO".
> However...
> ...it's not hard to have a given image subsequently "throw away"  
> requests that weren't directed at a specific IP.  So, this implies  
> that the answer to both of your questions is "YES".
> What you CANNOT do, is have two separate images each listening on the  
> same port

> --
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com

More information about the Squeak-dev mailing list