MLton.Socket improvement

Stephen Weeks MLton@sourcelight.com
Tue, 18 Dec 2001 10:02:09 -0800


> I don't see any way to `automatically' call close on the socket one accepts
> on.

Agreed.

> The only solution I see is to either expose that MLton.Socket.t is really
> a file descriptor which can be passed to Posix.IO.close, or else to have a
> MLton.Socket.sloce function.  The latter is clearly better now,

Agreed.