summaryrefslogtreecommitdiff
path: root/ghc/lib/misc/SocketPrim.lhs
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 1999-11-26 16:29:09 by simonmar]simonmar1999-11-261-1301/+0
| | | | GHC bits for new library organisation.
* [project @ 1999-10-29 13:59:52 by sof]sof1999-10-291-5/+5
| | | | wibble
* [project @ 1999-09-20 10:18:29 by simonmar]simonmar1999-09-201-3/+19
| | | | | | | - fix bug in setSocketOption__ which meant that trying to set SO_REUSEADDR on Linux (and possibly other OS's) didn't work. - add rudimentary non-blocking connect support.
* [project @ 1999-09-16 13:14:38 by simonmar]simonmar1999-09-161-5/+18
| | | | | | | | | | | | | | | | | | | | Cleanup of non-blocking I/O - file descriptors are now always set to non-blocking mode. - we don't do an inputReady operation on descriptors before attempting to read from them any more. - the non-blocking flag on Handles has gone. - the {set,clear}[Conn]NonBlockingFlag() functions have gone. - the socket operations have been made to work properly with threads: accept is now non-blocking (it does a threadWaitRead instead of blocking), and the file descriptors returned by accept are set to non-blocking mode. Win32 will need some adjustments, no doubt.
* [project @ 1999-07-29 13:57:34 by sof]sof1999-07-291-1/+1
| | | | | Recent CPP-related wibblement meant that _WIN32 wasn't defined when the pre-proc was run (cf. -undef usage.) Avoid the use of _WIN32
* [project @ 1999-07-12 10:43:10 by sof]sof1999-07-121-1/+1
| | | | Cygwin B19 compatibility fixes
* [project @ 1999-07-03 19:15:26 by sof]sof1999-07-031-1/+1
| | | | Don't use WinSock under cygwin
* [project @ 1999-05-05 10:36:29 by sof]sof1999-05-051-18/+57
| | | | switch over to using Winsock on the _WIN32 side
* [project @ 1999-03-02 09:17:02 by simonm]simonm1999-03-021-1/+1
| | | | makeForeignObj --> mkForeignObj
* [project @ 1999-02-11 17:54:36 by simonm]simonm1999-02-111-2/+2
| | | | finalise/finalize changes.
* [project @ 1999-02-05 14:34:02 by sof]sof1999-02-051-3/+3
| | | | 'errors' caught by -fwarn-type-defaults
* [project @ 1999-02-03 09:08:01 by simonm]simonm1999-02-031-5/+5
| | | | boundsOfByteArray --> boundsOfMutableByteArray
* [project @ 1999-01-28 11:33:42 by simonpj]simonpj1999-01-281-1/+1
| | | | Remove unnecessary imports
* [project @ 1999-01-15 12:57:49 by simonm]simonm1999-01-151-3/+3
| | | | H98 changes for non-cygwin targets.
* [project @ 1999-01-14 18:17:32 by sof]sof1999-01-141-74/+76
| | | | -syslib misc meets Haskell 98.
* [project @ 1998-12-02 13:17:09 by simonm]simonm1998-12-021-8/+20
| | | | Move 4.01 onto the main trunk.
* [project @ 1998-08-24 19:20:59 by sof]sof1998-08-241-8/+11
| | | | Import list updates
* [project @ 1998-08-17 12:03:58 by simonm]simonm1998-08-171-0/+2
| | | | add (disabled) SO_REUSEPORT socket option.
* [project @ 1998-08-14 13:06:28 by sof]sof1998-08-141-33/+48
| | | | socketToHandle changed to use new IO impl
* [project @ 1998-08-14 10:19:10 by sof]sof1998-08-141-34/+64
| | | | | | | | Added support for setting and getting socket options: data SocketOption getSocketOption :: Socket -> SocketOption -> IO Int setSocketOption :: Socket -> SocketOption -> Int -> IO ()
* [project @ 1998-08-11 21:40:32 by sof]sof1998-08-111-2/+0
| | | | Drop -syslib posix deps
* [project @ 1998-08-11 19:25:54 by sof]sof1998-08-111-6/+44
| | | | New functions: SocketPrim.recvFrom and SocketPrim.sendTo
* [project @ 1998-08-11 17:31:40 by sof]sof1998-08-111-1/+3
| | | | | iNADDR_ANY: it's a HostAddress, so convert it to network byte order.
* [project @ 1998-08-05 22:33:34 by sof]sof1998-08-051-3/+5
| | | | cygwin32 mods
* [project @ 1998-07-20 09:40:29 by sof]sof1998-07-201-74/+110
| | | | cleaned up a little; clarified the byte ordering of host addresses and port numbers
* [project @ 1998-07-02 08:44:56 by simonm]simonm1998-07-021-3/+3
| | | | update for alpha/osf3.
* [project @ 1998-02-02 17:27:26 by simonm]simonm1998-02-021-0/+1093
Library re-organisation: All libraries now live under ghc/lib, which has the following structure: ghc/lib/std -- all prelude files (libHS.a) ghc/lib/std/cbits ghc/lib/exts -- standard Hugs/GHC extensions (libHSexts.a) -- available with '-fglasgow-exts' ghc/lib/posix -- POSIX library (libHSposix.a) ghc/lib/posix/cbits -- available with '-syslib posix' ghc/lib/misc -- used to be hslibs/ghc (libHSmisc.a) ghc/lib/misc/cbits -- available with '-syslib misc' ghc/lib/concurrent -- Concurrent libraries (libHSconc.a) -- available with '-concurrent' Also, several non-standard prelude modules had their names changed to begin with 'Prel' to reduce namespace pollution. Addr ==> PrelAddr (Addr interface available in 'exts') ArrBase ==> PrelArr CCall ==> PrelCCall (CCall interface available in 'exts') ConcBase ==> PrelConc GHCerr ==> PrelErr Foreign ==> PrelForeign (Foreign interface available in 'exts') GHC ==> PrelGHC IOHandle ==> PrelHandle IOBase ==> PrelIOBase GHCmain ==> PrelMain STBase ==> PrelST Unsafe ==> PrelUnsafe UnsafeST ==> PrelUnsafeST