PowerSNMP for .NET CF
UdpSocket Constructor
See Also  Send comments on this topic.
Dart.Common Namespace > UdpSocket Class : UdpSocket Constructor




addressFamily
AddressFamily.Internetwork and AddressFamily.InternetworkV6 are supported.
Create a Socket for sending and receiving datagrams.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal addressFamily As AddressFamily _
)
Visual Basic (Usage)Copy Code
Dim addressFamily As AddressFamily
 
Dim instance As New UdpSocket(addressFamily)
C# 
public UdpSocket( 
   AddressFamily addressFamily
)
Managed Extensions for C++ 
public: UdpSocket( 
   AddressFamily addressFamily
)
C++/CLI 
public:
UdpSocket( 
   AddressFamily addressFamily
)

Parameters

addressFamily
AddressFamily.Internetwork and AddressFamily.InternetworkV6 are supported.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.