Click or drag to resize

Transport Class

Defines helper methods related to IP socket based communications.
Inheritance Hierarchy
SystemObject
  GSF.CommunicationTransport

Namespace: GSF.Communication
Assembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.205-beta
Syntax
public static class Transport
View Source

The Transport type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateEndPoint Creates an IPEndPoint for the specified host name and port number.
Public methodStatic memberCreateSocket Creates a Socket for the specified port and protocol.
Public methodStatic memberGetDefaultIPStack Gets the default IP stack for this system.
Public methodStatic memberGetInterfaceIPStack Derives the desired IPStack from the "interface" setting in the connection string key/value pairs. If interface is not specified, IPStack is derived from the server value in connectionStringEntries
Public methodStatic memberIsDestinationReachable Determines if the specified UDP destination is listening for data.
Public methodStatic memberIsIPv6IP Determines if the specified ipAddress is an IPv6 IP.
Public methodStatic memberIsLocalAddress Determines if an IP address (or DNS name) is a local IP address.
Public methodStatic memberIsMulticastIP Determines if the specified ipAddress is a multicast IP.
Public methodStatic memberIsPortNumberValid Determines whether the specified port is valid.
Top
Fields
 NameDescription
Public fieldStatic memberEndpointFormatRegex Regular expression used to validate the format for an endpoint.
Public fieldStatic memberPortRangeHigh Specifies the highest valid port number for a Socket.
Public fieldStatic memberPortRangeLow Specifies the lowest valid port number for a Socket.
Top
See Also