[Vm-dev] Multiple images listening on same TCP port
Adrian Lienhard
adi at netstyle.ch
Tue Jun 9 16:47:04 UTC 2009
Hi,
On the Mac VM, when starting a second image with the same VM as an
already running image, the second image opens the same TCP ports as
the first image.
It is easy to see this. Start image A and do:
s := Socket newTCP.
s listenOn: 7777.
as expected:
lsof -i | grep Squeak
Squeak 1747 adrian 9u IPv4 0x9dafa68 0t0 TCP *:cbt (LISTEN)
Now, start image B (PID 1752).
lsof -i | grep Squeak
Squeak 1747 adrian 9u IPv4 0x9dafa68 0t0 TCP *:cbt (LISTEN)
Squeak 1752 adrian 9u IPv4 0x9dafa68 0t0 TCP *:cbt (LISTEN)
It will also listen on port 7777...
Is this a known limitation?
VM: 3.8.20beta1U
Image: any (tested with Squeak 3.9 and 3.10)
Cheers,
Adrian
___________________
http://www.adrian-lienhard.ch/
More information about the Vm-dev
mailing list