[Haskell-cafe] Reading pcap

malcolm.wallace malcolm.wallace at me.com
Wed Oct 12 17:49:39 CEST 2011


On 12 Oct, 2011,at 04:39 PM, mukesh tiwari <mukeshtiwari.iiitm at gmail.com> wrote:

>  When i run this program . it does not produce any thing and when i press ^C ( CTRL - C ) it produce output. 
 
This is because you use hGetLine, which blocks until it sees either a newline character, or EOF.

Regards,
    Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111012/c1047072/attachment.htm>


More information about the Haskell-Cafe mailing list