[Haskell-cafe] Re: Cleaner networking API - network-fancy

Taru Karttunen taruti at taruti.net
Thu Aug 13 15:07:45 EDT 2009

Excerpts from Thomas DuBuisson's message of Thu Aug 13 21:09:38 +0300 2009:
> Right now the thought has came to me that the cleanest, most uniform
> method might be to have a Config data type with all these ideas as
> options and use a single 'connect', 'listen' or 'receive' function for
> all the different protocols and their various options.  I'll think on
> it.

UDP does not play nicely with Handles. TCP wants Handles. Thus
using an unified API does not make much sense. The semantics are just
too different. 

- Taru Karttunen

More information about the Haskell-Cafe mailing list