Inheritance diagram for InternetAddress:
Public Member Functions | |
sockaddr * | name () |
int | nameLen () |
this () | |
Socket AddressFamily | addressFamily () |
ushort | port () |
uint | addr () |
this (char[] addr, ushort port=PORT_ANY) | |
this (uint addr, ushort port) | |
this (ushort port) | |
char[] | toAddrString () |
char[] | toPortString () |
char[] | toString () |
Static Public Member Functions | |
uint | parse (char[] addr) |
Public Attributes | |
sockaddr_in | sin |
const uint | ADDR_ANY = 0 |
const uint | ADDR_NONE = cast(int)-1 |
const ushort | PORT_ANY = 0 |
|
Reimplemented from Address. |
|
Reimplemented from Address. |
|
Definition at line 1731 of file Socket.d. References sin. |
|
Reimplemented from Address. Definition at line 1747 of file Socket.d. References sin. |
|
Definition at line 1758 of file Socket.d. Referenced by AbstractServer::getPort(), MulticastSocket::join(), and parse(). |
|
|
|
-port- can be PORT_ANY -addr- is an IP address or host name Definition at line 1782 of file Socket.d. References sin. |
|
Definition at line 1802 of file Socket.d. References sin. |
|
Definition at line 1814 of file Socket.d. References ADDR_NONE, InternetHost::addrList, InternetHost::getHostByName(), parse(), and sin. |
|
Definition at line 1826 of file Socket.d. References sin. Referenced by AbstractServer::getHost(), and AbstractServer::getRemoteAddress(). |
|
|
|
Reimplemented from Address. Definition at line 1848 of file Socket.d. References sin. Referenced by SocketSet::VersionWin32::first(). |
|
-addr- is an IP address in the format "a.b.c.d" returns ADDR_NONE on failure Definition at line 1861 of file Socket.d. References port(). Referenced by this(). |
|
Definition at line 1701 of file Socket.d. Referenced by addressFamily(), Socket::setGroup(), this(), toAddrString(), and toString(). |
|
|
|
|
|
Definition at line 1739 of file Socket.d. Referenced by addr(). |