UdpClient()
Contents
[
Hide
]UdpClient::UdpClient() constructor
Initializes a new instance of the UdpClient class.
System::Net::Sockets::UdpClient::UdpClient()
UdpClient::UdpClient(AddressFamily) constructor
Initializes a new instance of the UdpClient class.
System::Net::Sockets::UdpClient::UdpClient(AddressFamily family)
Arguments
Parameter | Type | Description |
---|---|---|
family | AddressFamily | value that specifies the addressing scheme of the socket. |
UdpClient::UdpClient(int32_t) constructor
Initializes a new instance of the UdpClient class.
System::Net::Sockets::UdpClient::UdpClient(int32_t port)
Arguments
Parameter | Type | Description |
---|---|---|
port | int32_t | the local port number from which you intend to communicate. |
UdpClient::UdpClient(int32_t, AddressFamily) constructor
Initializes a new instance of the UdpClient class.
System::Net::Sockets::UdpClient::UdpClient(int32_t port, AddressFamily family)
Arguments
Parameter | Type | Description |
---|---|---|
port | int32_t | the local port number from which you intend to communicate. |
family | AddressFamily | value that specifies the addressing scheme of the socket. |
UdpClient::UdpClient(System::SharedPtr<IPEndPoint>) constructor
Initializes a new instance of the UdpClient class. param local EP the local endpoint to which you bind the UDP connection.
System::Net::Sockets::UdpClient::UdpClient(System::SharedPtr<IPEndPoint> localEP)
UdpClient::UdpClient(String, int32_t) constructor
Creates a new instance of the UdpClient class and connects to the specified remote host on the specified port.
System::Net::Sockets::UdpClient::UdpClient(String hostname, int32_t port)
Arguments
Parameter | Type | Description |
---|---|---|
hostname | String | The name of the remote DNS host to which you intend to connect. |
port | int32_t | The local port number from which you intend to communicate. |
See Also
- Enum AddressFamily
- Typedef SharedPtr
- Class UdpClient
- Class IPEndPoint
- Class String
- Namespace System::Net::Sockets
- Library Aspose.Slides