The network-socket-options package

[Tags: bsd3, library]

The network package provides getSocketOption and setSocketOption functions. These work fine for socket options represented using the int type (namely, all boolean options, and a few quantity options). However, it doesn't work for, say, SO_LINGER, SO_RCVTIMEO, and SO_SNDTIMEO, as these use different, platform-specific representations.

This package implements the getters and setters as separate functions. At the moment, it only provides socket options that are available for both Unix and Windows.

This package also provides a workaround needed to time out network operations in Windows without leaking resources.


Versions0.1, 0.2,
Change logNone available
Dependenciesbase (==4.*), network [details]
CopyrightCopyright (c) Joseph Adams 2012
AuthorJoey Adams
Home page
Source repositoryhead: git clone git://
UploadedWed Feb 22 04:50:42 UTC 2012 by JoeyAdams
Downloads776 total (29 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees