PowerSNMP for .NET
SnmpSocket Constructor(SnmpBase,IPEndPoint)




The controlling Agent or Manager.
The local IPEndPoint the socket should bind to.
Creates an instance of SnmpSocket bound to a specific local IPEndPoint.
Syntax
Public Function New( _
   ByVal entity As SnmpBase, _
   ByVal localEP As IPEndPoint _
)
Dim entity As SnmpBase
Dim localEP As IPEndPoint
 
Dim instance As New SnmpSocket(entity, localEP)
public SnmpSocket( 
   SnmpBase entity,
   IPEndPoint localEP
)
public: SnmpSocket( 
   SnmpBase* entity,
   IPEndPoint* localEP
)
public:
SnmpSocket( 
   SnmpBase^ entity,
   IPEndPoint^ localEP
)

Parameters

entity
The controlling Agent or Manager.
localEP
The local IPEndPoint the socket should bind to.
Remarks

When created by the user, Close() should be used to release resources.

See Also

Reference

SnmpSocket Class
SnmpSocket Members
Overload List

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic