
23 Sep
2003
23 Sep
'03
9:32 a.m.
The declaration of Network.recvFrom looks strange:
recvFrom :: HostName -> PortID -> IO String
I thought that recvFrom should _return_ the address of the peer, not require it as an argument? At least that's what the corresponding 4.4BSD routine does:
Network.Socket.recvFrom is what you want, probably. Network.recvFrom is of dubious utility. Cheers, Simon