[Q] TCP/IP Stack

cg at cdegroot.com cg at cdegroot.com
Wed Jan 29 17:43:21 UTC 2003


Chris Burkert <squeak-dev at lists.squeakfoundation.org> said:
>Is there a BSD-like TCP/IP Stack in Squeak ? I wanted to run a swiki on 
>only one networkinterface.
>
The TCP/IP stack usually resides in the kernel. What you want is the
ability to bind a socket to a specific address, and alas Squeak doesn't
support that. 

(it'd be simple to add, but as it is a primitive change it would need to
be coordinated across platforms).

Alternative solutions:
- bind on a high port and let your OS kernel direct packets destined for
  the address/port you want to publish to that high port;
- put the Swiki behind Apache.

-- 
Cees de Groot               http://www.cdegroot.com     <cg at cdegroot.com>
GnuPG 1024D/E0989E8B 0016 F679 F38D 5946 4ECD  1986 F303 937F E098 9E8B
Cogito ergo evigilo



More information about the Squeak-dev mailing list