Data.Streaming.Network

Types

data ServerSettings

data ClientSettings

data HostPreference

data Message

data AppData

data ServerSettingsUnix

data ClientSettingsUnix

data AppDataUnix

Smart constructors

serverSettingsTCP

serverSettingsTCPSocket

clientSettingsTCP

serverSettingsUDP

clientSettingsUDP

serverSettingsUnix

clientSettingsUnix

message

Classes

class HasPort a

class HasAfterBind a

class HasReadWrite a

class HasPath a

Setters

setPort

setHost

setAddrFamily

setAfterBind

setNeedLocalAddr

setPath

Getters

getPort

getHost

getAddrFamily

getAfterBind

getNeedLocalAddr

getPath

appRead

appWrite

appSockAddr

appLocalAddr

appCloseConnection

Functions

General

bindPortGen

bindRandomPortGen

getSocketGen

getSocketFamilyGen

acceptSafe

unassignedPorts

getUnassignedPort

TCP

bindPortTCP

bindRandomPortTCP

getSocketTCP

getSocketFamilyTCP

safeRecv

runTCPServer

runTCPClient

type ConnectionHandle

runTCPServerWithHandle

UDP

bindPortUDP

bindRandomPortUDP

getSocketUDP

Unix

bindPath

getSocketUnix

runUnixServer

runUnixClient