
21 Sep
2001
21 Sep
'01
7 a.m.
Chris Webb writes:
For simple networking, I usually find that the simple Socket interface from hslibs does everything I need, except that I always need to import sClose from SocketPrim as well, so I can close the sockets I open. Tidying up some old code this morning, I was wondering: is the absence of sClose in the Socket interface accidental, or should I be disposing of listening sockets some other way?
No, I think you're right. Socket should really export sClose too. Perhaps it should be called Socket.close, or closeSocket? Cheers, Simon
8642
Age (days ago)
8642
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow