Module

Erl.Kernel.Inet

#AddressFamily

#CommonOptions

type CommonOptions :: Row Type -> Row Typetype CommonOptions r = (active :: Maybe SocketActive, buffer :: Maybe NonNegInt, dontroute :: Maybe Boolean, header :: Maybe NonNegInt, high_msgq_watermark :: Maybe NonNegInt, ipv6_v6only :: Maybe Boolean, low_msgq_watermark :: Maybe NonNegInt, priority :: Maybe Int, raw :: Maybe (List Raw), recbuf :: Maybe NonNegInt, recvtclass :: Maybe Boolean, recvtos :: Maybe Boolean, recvttl :: Maybe Boolean, reuseaddr :: Maybe Boolean, sndbuf :: Maybe NonNegInt, tclass :: Maybe NonNegInt, tos :: Maybe Int, ttl :: Maybe NonNegInt | r)

#ConnectedSocket

#Hostname

#InterfaceAddressRecord

type InterfaceAddressRecord ipType = { address :: ipType, broadcastAddress :: Maybe Ip4Address, dstAddress :: Maybe Ip4Address, netmask :: ipType }

#InterfaceName

#InterfaceOptions

newtype InterfaceOptions

Constructors

#ListenSocket

#LocalAddress

#PassiveSocket

data PassiveSocket :: SocketMessageBehaviourdata PassiveSocket

Instances

#Raw

data Raw

Constructors

Instances

#SocketMessageBehaviour

#SocketMode

#SocketType

#OptionToErl

class OptionToErl :: Symbol -> Type -> Constraintclass OptionToErl sym option  where

Members

Instances

#OptionsToErl

class OptionsToErl :: Row Type -> RowList Type -> Constraintclass OptionsToErl r rl  where

Members

Instances

#OptionsValid

class OptionsValid :: SocketMessageBehaviour -> Row Type -> Constraintclass OptionsValid socketMessageBehaviour options 

Instances

#Socket

class Socket socket  where

Members

#connectIp4Loopback

#connectIp6Loopback

#defaultCommonOptions

#ip4

ip4 :: Int -> Int -> Int -> Int -> Maybe Ip4Address

#ip4Loopback

#ip6

ip6 :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Maybe Ip6Address

#ip6Loopback

#ipMulticastAll

#isMulticast

#macOsSoReusePort

#optionsToErl

optionsToErl :: forall r rl. RowToList r rl => OptionsToErl r rl => Record r -> List Foreign

#parseIp4Address

#parseIp6Address

#parseIpAddress

#posixErrorToPurs

#sendErrorToPurs

#windowsSoReuseAddr

Modules