BaseSocket Class |
Namespace: EnterpriseDT.Net
The BaseSocket type exposes the following members.
| Name | Description | |
|---|---|---|
| BaseSocket |
Creates a BaseSocket.
| |
| BaseSocket(AddressFamily, SocketType, ProtocolType, ILogTag) |
Initializes a new instance of the StandardSocket class
|
| Name | Description | |
|---|---|---|
| AddressFamily | ||
| Available | ||
| Connected |
True if the socket was connected at the last operation
| |
| LocalEndPoint |
Gets the local endpoint.
| |
| RemoteEndPoint |
Gets the remote endpoint.
|
| Name | Description | |
|---|---|---|
| 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(EndPoint) |
Establishes a connection to a remote endpoint
| |
| Connect(EndPoint, Int32) |
Establishes a connection to a remote endpoint
| |
| EndAccept | ||
| EndReceive | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetStream |
Get the stream associated with the socket.
| |
| GetStream(Boolean) |
Get the stream associated with the socket.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Listen |
Places socket in a listening state.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Poll | ||
| Receive |
Receives data from a bound Socket.
| |
| Send(Byte) |
Sends data to a connected Socket.
| |
| Send(Byte, Int32, Int32, SocketFlags) | ||
| SetSocketOption |
Sets a Socket option.
| |
| Shutdown | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| addressFamily | ||
| log | Logging object | |
| logTag | Logging tag | |
| protocolType | ||
| socketType |