std.socket.SocketAddress - nitrologic/monkey2 GitHub Wiki
std::std.socket.SocketAddress
Class SocketAddress
The SocketAddress class.
A socket address encapsulates the hostname and service of a socket.
Socket address objects are returned by the Socket.Address and Socket.PeerAddress properties, and indirectly returned by Socket.ReceiveFrom.
Constructors | |
---|---|
New | Creates a new empty socket address. |
Properties | |
---|---|
Host | The hostname represented by the address. (read only) |
Service | The service represented by the address. (read only) |
Methods | |
---|---|
OpCmp | Comparison operator. |
To | Converts the address to a string. |