|
Network.Socket.Internal | Portability | portable
| Stability | provisional
| Maintainer | libraries@haskell.org
|
|
|
|
|
|
Description |
A module containing semi-public Network.Socket internals.
Modules which extend the Network.Socket module will need to use
this module while ideally most users will be able to make do with
the public interface.
|
|
Synopsis |
|
|
|
|
Socket addresses
|
|
|
|
|
Constructors | | Instances | |
|
|
|
Constructors | | Instances | |
|
|
|
Read a SockAddr from the given memory location.
|
|
|
Write the given SockAddr to the given memory location.
|
|
|
Computes the storage requirements (in bytes) of the given
SockAddr. This function differs from sizeOf
in that the value of the argument is used.
|
|
|
Computes the storage requirements (in bytes) required for a
SockAddr with the given Family.
|
|
|
Use a SockAddr with a function requiring a pointer to a
SockAddr and the length of that SockAddr.
|
|
|
Create a new SockAddr for use with a function requiring a
pointer to a SockAddr and the length of that SockAddr.
|
|
Protocol families
|
|
|
This data type might have different constructors depending on
what is supported by the operating system.
| Constructors | AF_UNSPEC | | AF_UNIX | | AF_INET | | AF_INET6 | | AF_IMPLINK | | AF_PUP | | AF_CHAOS | | AF_NS | | AF_ECMA | | AF_DATAKIT | | AF_CCITT | | AF_SNA | | AF_DECnet | | AF_DLI | | AF_LAT | | AF_HYLINK | | AF_APPLETALK | | AF_NETBIOS | | AF_ISO | | AF_OSI | | AF_IPX | |
| Instances | |
|
|
Produced by Haddock version 2.4.2 |