The BaseSocket type exposes the following members.

Constructors

  NameDescription
Public methodBaseSocket()()()()
Creates a BaseSocket.
Public methodBaseSocket(AddressFamily, SocketType, ProtocolType, ILogTag)
Initializes a new instance of the StandardSocket class

Methods

  NameDescription
Public methodAccept
Creates a new Socket for a newly created connection
Public methodBeginAccept
Public methodBeginReceive
Public methodBind
Associates a Socket with a local endpoint.
Public methodClose
Closes the Socket connection and releases all associated resources.
Public methodConnect(EndPoint)
Establishes a connection to a remote endpoint
Public methodConnect(EndPoint, Int32)
Establishes a connection to a remote endpoint
Public methodEndAccept
Public methodEndReceive
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetStream()()()()
Get the stream associated with the socket.
Public methodGetStream(Boolean)
Get the stream associated with the socket.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListen
Places socket in a listening state.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPoll
Public methodReceive
Receives data from a bound Socket.
Public methodSend(array<Byte>[]()[][])
Sends data to a connected Socket.
Public methodSend(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Public methodSetSocketOption
Sets a Socket option.
Public methodShutdown
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Protected fieldaddressFamily
Protected fieldStatic memberlog
Logging object
Protected fieldlogTag
Logging tag
Protected fieldprotocolType
Protected fieldsocketType

Properties

  NameDescription
Public propertyAddressFamily
Public propertyAvailable
Public propertyConnected
True if the socket was connected at the last operation
Public propertyLocalEndPoint
Gets the local endpoint.
Public propertyRemoteEndPoint
Gets the remote endpoint.

See Also