Is this socket code correct?

Craig Latta Craig.Latta at NetJam.ORG
Wed Nov 17 22:55:07 UTC 1999


	Your code looks correct. The select() socket library function on win32 sometimes gives false positives; that's probably the problem if you're using win32. I suggest that the sqSocketSendDataBufCount() primitive be changed to fail if it doesn't read anything. At least then the bug in select() will propagate to Smalltalk, where you can do something about it.


-C


--
Craig Latta
composer and computer scientist
craig.latta at netjam.org
www.netjam.org
latta at interval.com
Smalltalkers do: [:it | All with: Class, (And love: it)]





More information about the Squeak-dev mailing list