simonmar at microsoft.com
Thu Aug 12 06:57:52 EDT 2004
On 11 August 2004 14:19, Glynn Clements wrote:
> Right. If listenOn and accept are in Network, sClose should be in
> there too. That would at least provide an API which is usable for the
> simplest programs.
Sounds reasonable. I'll add it.
> OTOH, the core problem with Network.recvFrom is essentially that it
> appears to be a misguided attempt to provide a symmetric counterpart
> to Network.sendTo. While the low-level sendTo/recvFrom functions may
> be roughly symmetric, at a higher level, the client and server ends of
> a connection aren't at all symmetric.
Yes, I'm sure that's the reason for it. Proposals for a replacement are
More information about the Glasgow-haskell-users