nativesockets.$
proc `$`(p: Port): string
- Kind
- proc
- Module
nativesockets
Source: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
The entries of nativesockets in the Nim reference. This page has 40 cards.
proc `$`(p: Port): string
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc `==`(a, b: Port): bool
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc bindAddr(socket: SocketHandle; name: ptr SockAddr; namelen: SockLen): cint
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc close(socket: SocketHandle)
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const FIONBIO
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getAddrInfo(address: string; port: Port; hints: AddrInfo): ptr AddrInfo
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getAddrString(sockAddr: ptr SockAddr): string
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getHostByAddr(ip: string): Hostent
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getHostByName(name: string): Hostent
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getHostname(): string
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getLocalAddr(socket: SocketHandle; domain: Domain): (string, Port)
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getPeerAddr(socket: SocketHandle; domain: Domain): (string, Port)
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getProtoByName(name: string): int
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getServByName(name, proto: string): Servent
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getServByPort(port: Port; proto: string): Servent
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getSockDomain(socket: SocketHandle): Domain
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getSockName(socket: SocketHandle): Port
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc getSockOptInt(socket: SocketHandle; level, optname: int): int
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
template htonl(x: uint32): untyped
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
template htons(x: uint16): untyped
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const IOC_IN
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const IOCPARM_MASK
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc ioctlsocket(s: SocketHandle; cmd: clong; argptr: ptr clong): cint
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
const IPPROTO_NONE
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc listen(socket: SocketHandle; backlog = SOMAXCONN): cint
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc ntohl(x: uint32): uint32
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc ntohs(x: uint16): uint16
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
let osInvalidSocket
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc selectRead(readfds: var seq[SocketHandle]; timeout = 500): int
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc selectWrite(writefds: var seq[SocketHandle]; timeout = 500): int
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setBlocking(s: SocketHandle; blocking: bool)
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setInheritable(s: SocketHandle; inheritable: bool): bool
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc setSockOptInt(socket: SocketHandle; level, optname, optval: int)
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toInt(domain: Domain): cint
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toKnownDomain(family: cint): Option[Domain]
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.
proc toSockType(protocol: Protocol): SockType
nativesocketsSource: nim-lang.org, nim-lang.org. JSON record. This entry is a card. Help write this page.