[BUG] Socket assumes connection in Linux

Jim Menard jimm at io.com
Mon Mar 26 03:23:29 UTC 2001


ajh18 at cornell.edu writes:
> When I do:
> 	Socket initializeNetwork.
> 	s _ Socket new connectTo: (NetNameResolver addressFromString:
> '127.0.0.1') port: 2001.
> It always returns a connected socket even when there is no socket
> listening on 2001.
> (s waitForConnectionUntil: Socket standardDeadline) returns true right
> away.  It is not until I attempt to send data that its status changes
> from connected to otherEndClosedButNotThisEnd and an error is raised.
> 
> I am the only one having Linux socket problems?  Can anyone repeat this
> problem or the problem I posted on March 23 entitled "[BUG]Socket waits
> unnecessarily in linux"?

I've repeated this problem on SuSE Linux 6.3 running Squeak 2.7 with
changes up to 1782.

Jim
-- 
Jim Menard, jimm at io.com, http://www.io.com/~jimm/
As a math major, I don't have to be able to add -- I just have to be able
to PROVE that I can add.





More information about the Squeak-dev mailing list