
12 Aug
2004
12 Aug
'04
10:57 a.m.
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 welcome... Cheers, Simon