Finding a free port?

Randal L. Schwartz merlyn at
Wed May 12 22:08:55 UTC 1999

>>>>> "Dino" == Dino  <gte949e at> writes:

Dino> How can I quickly find a free port in Squeak?

Most operating systems permit a bind to port 0, which finds a nice
free port.  You should be able to get your info to find out what port
it was.  If squeak can't access that, it should.  (I know, FileIn's
welcome. :)

Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn at> Snail: (Call) PGP-Key: (finger merlyn at
Web: <A HREF="">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me

More information about the Squeak-dev mailing list