Finding a free port?

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


>>>>> "Dino" == Dino  <gte949e at prism.gatech.edu> 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 stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn at teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">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