I have been going back and for between the UDP server code Kim pointed me toward and Hayoo for an hour. I can load it into GHCI, but I understand neither how it works nor how to use it. If I knew how to use it I could probably figure out a lot of how it works on my own. If I wanted to, say, send the message "test" to localhost port 9000, how would I do that?

On Mon, Oct 20, 2014 at 9:04 PM, Kim-Ee Yeoh <ky3@atamo.com> wrote:
On 10/21/14, Jeffrey Brown <jeffbrown.the@gmail.com> wrote:
> There is a UDP library
> <http://hackage.haskell.org/package/network-conduit-0.6.1.1/docs/Data-Conduit-Network-UDP.html>
> for Haskell, which I presume could serve as an alternative to the RWH code, but
> I don't understand it.

Here's a fully working UDP echo server:

http://www.haskell.org/pipermail/haskell-cafe/2007-January/021280.html

No special package needed, merely import the humble, dependable Network.Socket.


-- Kim-Ee