Network.Socket.Internal

# Socket addresses

type HostAddress

type HostAddress6

type FlowInfo

type ScopeID

data PortNumber

data SockAddr

peekSockAddr

pokeSockAddr

sizeOfSockAddr

sizeOfSockAddrByFamily

withSockAddr

withNewSockAddr

# Protocol families

data Family

# Socket error functions

throwSocketError

throwSocketErrorCode

# Guards for socket operations that may fail

throwSocketErrorIfMinus1_

throwSocketErrorIfMinus1Retry

throwSocketErrorIfMinus1RetryMayBlock

## Guards that wait and retry if the operation would block

throwSocketErrorWaitRead

throwSocketErrorWaitWrite

# Initialization

withSocketsDo

# Low-level helpers

zeroMemory