Click or drag to resize

UdpSocket Class

A UDP socket.
Inheritance Hierarchy

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The UdpSocket type exposes the following members.

Constructors
  NameDescription
Public methodUdpSocket
Initializes a new instance of the UdpSocket class.
Top
Properties
  NameDescription
Public propertyAdapterSpeed
Gets or sets the adapter speed.
(Inherited from ManagedSocket.)
Public propertyStatic memberDefaultReceiveBufferSize
Default socket receive buffer size. Application will attempt to set default size at initialisation; if this fails, application will progressively lower buffer size three times.
Public propertyStatic memberDefaultSendBufferSize
Default socket send buffer size. Application will attempt to set default size at initialisation; if this fails, application will progressively lower buffer size three times.
Public propertyIPv6
Gets a value indicating whether the socket supports IPv6.
(Overrides ManagedSocketIPv6.)
Public propertyIsClosed
Gets a value indicating whether this instance is closed.
(Overrides ManagedSocketIsClosed.)
Public propertyLocalIPAddress
Gets the local IP address.
(Overrides ManagedSocketLocalIPAddress.)
Public propertyLocalPort
Gets the local port.
(Overrides ManagedSocketLocalPort.)
Public propertyMaxQueuedPackets
Gets or sets the maximum number of packets that can be queued at any given point in time.
(Overrides DatagramSocketMaxQueuedPackets.)
Public propertyPublicIPAddress
Gets or sets the public IP address, if known.
(Inherited from ManagedSocket.)
Public propertySocket
Gets the underlying socket.
Top
Methods
  NameDescription
Public methodBind
Binds the socket to a local endpoint.
(Overrides ManagedSocketBind(String, Int32, Boolean).)
Public methodClose
Closes the socket.
(Overrides ManagedSocketClose.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRaiseReceiveFailure
Invokes the receive failure callback.
(Inherited from DatagramSocket.)
Protected methodRaiseReceiveSuccess
Invokes the receive success callback.
(Inherited from DatagramSocket.)
Public methodReceiveAsync
Receives data asynchronously.
(Overrides DatagramSocketReceiveAsync(Action3DataBuffer, String, Int32, Action1Exception).)
Public methodSend
Sends data synchronously.
(Overrides DatagramSocketSend(DataBuffer, String, Int32).)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventStatic memberOnSocketCreated
Raised when a socket has been created and initialized.
Top
See Also