Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 6, 2013
  1. Decode UTF8 for unEscapeString

    authored
    Fixes #86
Commits on Jan 31, 2013
  1. @tibbe

    Whitespace only

    tibbe authored
  2. @tibbe

    Use random available port in unit tests

    tibbe authored
    This makes it possible to run the tests in parallel.
Commits on Jan 29, 2013
  1. @kazu-yamamoto
Commits on Jan 20, 2013
  1. @kazu-yamamoto

    add a comment.

    kazu-yamamoto authored
Commits on Jan 19, 2013
  1. @kazu-yamamoto
Commits on Jan 17, 2013
  1. @tibbe

    Bump version number to 2.4.1.0

    tibbe authored
  2. @tibbe

    Remove trailing whitespace

    tibbe authored
  3. @tibbe

    Stop pretending to support Hugs

    tibbe authored
    No one has been testing the Hugs support in ages so it most likely
    doesn't work and just add unneccesary cruft to the library.
Commits on Jan 14, 2013
  1. @tibbe
  2. @tibbe

    Don't use CSize to represent socklen_t

    tibbe authored
    CSize is 64 bits on 64-bit machines, while socklen_t might be 32 bits.
    We now use unsigned int (i.e. CUInt) instead, which is what the 64-bit
    Linux machine I tested on uses. This is not entirely correct, as C
    doesn't guarantee that unsigned long or socklen_t is exactly 32-bits,
    but it works in practice.
    
    Closes #81
Commits on Jan 5, 2013
  1. @gklyne

    Tweak build comment

    gklyne authored
  2. @gklyne
  3. @gklyne
Commits on Dec 31, 2012
  1. @gklyne
  2. @gklyne
Commits on Dec 11, 2012
  1. @joeyadams

    Add throwSocketErrorWait* guards

    joeyadams authored
    This commit assumes we no longer care about Hugs.  The code it replaces
    apparently didn't either, since it was full of code like this:
    
        #if !defined(__HUGS__)
            throwSocketErrorIfMinus1RetryMayBlock "recvFd"
                (threadWaitRead (fromIntegral fd)) $
        #endif
                 c_recvFd fd
    
    If __HUGS__ is defined, c_recvFd won't have its error code checked at all.
Commits on Dec 9, 2012
  1. @joeyadams

    Add throwSocketErrorCode, and use it in connect and accept

    joeyadams authored
    This fixes "no error" error messages on Windows when using these functions.
  2. @joeyadams
  3. @joeyadams
  4. @joeyadams
Commits on Dec 7, 2012
  1. @joeyadams
Commits on Nov 30, 2012
  1. @Peaker
Commits on Nov 29, 2012
  1. @joeyadams @tibbe

    Add Network.Socket.Types (internal reorganization)

    joeyadams authored tibbe committed
    This does not change the external interface, except for making a few orphan
    instances available in Network.Socket.Internal that weren't before
    (e.g. Num instances for PortNumber).
Commits on Nov 14, 2012
  1. @tibbe

    IOErrorType moved in GHC >= 7.7

    tibbe authored
Commits on Nov 9, 2012
  1. @TomMD @tibbe

    Add sendBuf and recvBuf

    TomMD authored tibbe committed
Commits on Nov 3, 2012
  1. @bgamari
Commits on Oct 20, 2012
  1. @joeyadams

    Network.Socket: Make connect a safe foreign import on Windows

    joeyadams authored
    We're using blocking FFI calls on Windows (unfortunately).  If the server is
    unresponsive, connect() blocks for a while.  An unsafe FFI call blocks the
    whole RTS, whereas a safe FFI call only blocks the current thread
    (when -threaded is used).
    
    Fixes #61
Commits on Oct 11, 2012
  1. @kazu-yamamoto
Commits on Sep 27, 2012
  1. @tibbe
Commits on Sep 18, 2012
  1. @tibbe
  2. @tibbe

    Bump version number to 2.4.0.1

    tibbe authored
  3. @tibbe

    network now needs parsec >= 3

    tibbe authored
  4. @feuerbach
Commits on Sep 16, 2012
  1. @tibbe
Something went wrong with that request. Please try again.