|
EndPointExtensionGetSocket Method
|
Gets the socket.
Namespace: GSF.Net.Snmp.MessagingAssembly: GSF.Net (in GSF.Net.dll) Version: 2.4.248-beta
Syntaxpublic static Socket GetSocket(
this EndPoint endpoint
)
<ExtensionAttribute>
Public Shared Function GetSocket (
endpoint As EndPoint
) As Socket
public:
[ExtensionAttribute]
static Socket^ GetSocket(
EndPoint^ endpoint
)
[<ExtensionAttribute>]
static member GetSocket :
endpoint : EndPoint -> Socket
GSF.Net.Snmp.Messaging.EndPointExtension.GetSocket = function(endpoint);
View SourceParameters
- endpoint EndPoint
- The endpoint.
Return Value
SocketUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
EndPoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also