NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UDPClient Constructor

Initializes a new instance of the UDPClient class.

Overload List

Initializes a new instance of the UDPClient class.

[Visual Basic] Overloads Public Sub New()
[C#] public UDPClient();
[C++] public: UDPClient();
[JScript] public function UDPClient();

Creates a new instance of the UDPClient class that communicates on the specified port number.

[Visual Basic] Overloads Public Sub New(Integer)
[C#] public UDPClient(int);
[C++] public: UDPClient(int);
[JScript] public function UDPClient(int);

Creates a new instance of the UDPClient class that communicates on the specified end point.

[Visual Basic] Overloads Public Sub New(IPEndPoint)
[C#] public UDPClient(IPEndPoint);
[C++] public: UDPClient(IPEndPoint*);
[JScript] public function UDPClient(IPEndPoint);

Creates a new instance of the UDPClient class and connects to the specified remote host on the specified port.

[Visual Basic] Overloads Public Sub New(String, Integer)
[C#] public UDPClient(String, int);
[C++] public: UDPClient(String*, int);
[JScript] public function UDPClient(String, int);

See Also

UDPClient Class | UDPClient Members | System.Net.Sockets Namespace