[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-cafe
Subject:    Re: [Haskell-cafe] UDP
From:       Thomas DuBuisson <thomas.dubuisson () gmail ! com>
Date:       2009-01-31 23:51:25
Message-ID: 4c44d90b0901311551r27fa0425wfcadbb604d844f7e () mail ! gmail ! com
[Download RAW message or body]

On Sat, Jan 31, 2009 at 9:36 PM, Andrew Coppin
<andrewcoppin@btinternet.com> wrote:
> Thomas DuBuisson wrote:
>>
>> The network library is no more than an FFI library to a Berkeley
>> socket interface and as such it implicitly expects you to know sockets
>> already (eg. from programming in C).  One advantage here is reading
>> man pages actually helps (unlike with most Haskell coding) and you can
>> also make equivalent C programs to test things out.
>>
>
> Yes, that's kind of the problem; I don't know how to do this at the C level,
> and I can't seem to Google it. :-}
>
> Ah well, I'll ask around. Somebody must know. ;-)

Ahh, then see Beej's guide [1] if you wish to learn at the C level.

On another note: when making your Haskell app if you are at all
performance concerned then you should use network-bytestring [2].

[1] http://beej.us/guide/bgnet/
[2] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/network-bytestring
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic