An NDoc Documented Class Library

BaseSocket Members

BaseSocket overview

Public Instance Constructors

BaseSocket Overloaded. Initializes a new instance of the BaseSocket class.

Public Instance Properties

Connected True if the socket was connected at the last operation
LocalEndPoint Gets the local endpoint.
RemoteEndPoint Gets the remote endpoint.

Public Instance Methods

Accept Creates a new Socket for a newly created connection
BeginAccept
BeginReceive
Bind Associates a Socket with a local endpoint.
Close Closes the Socket connection and releases all associated resources.
Connect Establishes a connection to a remote endpoint
EndAccept
EndReceive
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetStreamOverloaded. Get the stream associated with the socket.
GetType (inherited from Object) Gets the Type of the current instance.
Listen Places socket in a listening state.
Receive Receives data from a bound Socket.
SendOverloaded.
SetSocketOption Sets a Socket option.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

addressFamily 
protocolType 
socketType 

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BaseSocket Class | EnterpriseDT.Net Namespace