dlib ~master (2021-07-06T21:20:15Z)
Home
Dub
Repo
InternetAddress
dlib
network
socket
Undocumented in source.
class
InternetAddress :
Address
{
version(Windows)
protected
SOCKADDR_STORAGE
storage
;
version(!Windows && Posix)
protected
sockaddr_storage
storage
;
immutable
ushort
port_
;
anonymousenum
anyPort
;
this
(string host, ushort port);
inout
(
sockaddr
)*
name
[@property getter];
inout
(
socklen_t
)
length
[@property getter];
inout
(
AddressFamily
)
family
[@property getter];
inout
(
ushort
)
port
[@property getter];
}
Constructors
this
this
(string host, ushort port)
Undocumented in source.
Members
Enums
anyPort
anonymousenum
anyPort
Undocumented in source.
Properties
family
inout
(
AddressFamily
)
family
[@property getter]
length
inout
(
socklen_t
)
length
[@property getter]
name
inout
(
sockaddr
)*
name
[@property getter]
port
inout
(
ushort
)
port
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
port_
ushort
port_
;
Undocumented in source.
storage
SOCKADDR_STORAGE
storage
;
Internal internet address representation.
storage
sockaddr_storage
storage
;
Internal internet address representation.
Inherited Members
From Address
name
inout
(
sockaddr
)*
name
[@property getter]
length
inout
(
socklen_t
)
length
[@property getter]
Meta
Source
See Implementation
dlib
network
socket
aliases
LPFN_GETACCEPTEXSOCKADDRS
LPWSABUF
LPWSAOVERLAPPED
LPWSAPROTOCOLCHAIN
LPWSAPROTOCOL_INFO
SIO_ADDRESS_LIST_CHANGE
SIO_ADDRESS_LIST_QUERY
SIO_ASSOCIATE_HANDLE
SIO_ENABLE_CIRCULAR_QUEUEING
SIO_FIND_ROUTE
SIO_FLUSH
SIO_GET_BROADCAST_ADDRESS
SIO_GET_EXTENSION_FUNCTION_POINTER
SIO_GET_GROUP_QOS
SIO_GET_QOS
SIO_MULTICAST_SCOPE
SIO_MULTIPOINT_LOOPBACK
SIO_NSP_NOTIFY_CHANGE
SIO_QUERY_TARGET_PNP_HANDLE
SIO_ROUTING_INTERFACE_CHANGE
SIO_ROUTING_INTERFACE_QUERY
SIO_SET_GROUP_QOS
SIO_SET_QOS
SIO_TRANSLATE_HANDLE
WSASocket
classes
Address
ConnectedSocket
InternetAddress
OverlappedConnectedSocket
OverlappedStreamSocket
Socket
SocketException
SocketState
State
StreamSocket
enums
IOC_UNIX
OverlappedSocketEvent
SocketError
WSA_FLAG_OVERLAPPED
functions
WSARecv
WSASend
accept4
wouldHaveBlocked
interfaces
ConnectionOrientedSocket
manifest constants
SOCK_NONBLOCK
SO_UPDATE_ACCEPT_CONTEXT
structs
WSABUF
WSAOVERLAPPED
WSAPROTOCOLCHAIN
WSAPROTOCOL_INFO
templates
_WSAIO
_WSAIOR
_WSAIORW
_WSAIOW
variables
WSAID_GETACCEPTEXSOCKADDRS