Skip to content
Snippets Groups Projects
Commit 4c3f564b authored by sof's avatar sof
Browse files

[project @ 1998-08-05 22:33:05 by sof]

accept buglet
parent 5c7ff0a3
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ accept :: Socket -- Listening Socket
accept sock = do
~(sock', (SockAddrInet _ haddr)) <- SocketPrim.accept sock
(HostEntry peer _ _ _) <- getHostByAddr AF_INET haddr
handle <- socketToHandle sock ReadWriteMode
handle <- socketToHandle sock' ReadWriteMode
return (handle, peer)
\end{code}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment