Strange behavior with Network sockets
mrd
mdanish at andrew.cmu.edu
Fri Jan 19 22:20:59 EST 2007
On Fri, Jan 19, 2007 at 07:19:15PM -0600, Alec Berryman wrote:
> > > main = withSocketsDo $ do
> > > sock <- listenOn $ PortNumber 9000
> > > (h,_,_) <- accept sock
>
> From your description it sounds like you have a buffering problem. Have
> you tried adding 'hSetBuffering h LineBuffering' here?
It made no difference w/regard to the strange behavior.
--
-- Matthew Danish -- user: mrd domain: cmu.edu
-- OpenPGP public key: C24B6010 on keyring.debian.org
More information about the Glasgow-haskell-users
mailing list