Hello!
On Tue, Feb 01, 2000 at 12:10:33PM +0100, Sven Panne wrote:
> Hannah Schroeter wrote:
> > [...] There should be a call to
> > SocketPrim.setSocketOption sock SocketPrim.ReuseAddr 1
> > before bindSocket.
> > *wink* to the GHC team :-)
> OK, understood. :-) I've added this to Socket
Hannah Schroeter wrote:
> [...] There should be a call to
> SocketPrim.setSocketOption sock SocketPrim.ReuseAddr 1
> before bindSocket.
>
> *wink* to the GHC team :-)
OK, understood. :-) I've added this to SocketPrim for AF_INET,
but I'm unsure about the AF_UNIX case. Is it necessary? Does
Hello!
On Mon, Jan 31, 2000 at 09:11:14PM +0100, Wojciech Moczydlowski, Jr wrote:
> [...]
> main = do
> socket <- listenOn (PortNumber (mkPortNumber 6665))
> (handle, hn) <- accept socket
> putStrLn hn" - it's just supposed to say who called and exit.
> Nevertheless, when I try
I have 2 questions. First is on the Socket module - I have a program (server)
which looks like:
"module Main where
import Socket
main = do
socket <- listenOn (PortNumber (mkPortNumber 6665))
(handle, hn) <- accept socket
putStrLn hn" - it's just supposed to say who cal