StandardSocket Class |
Namespace: EnterpriseDT.Net
The StandardSocket type exposes the following members.
| Name | Description | |
|---|---|---|
| StandardSocket(Socket) |
Initializes a new instance of the StandardSocket class
| |
| StandardSocket(AddressFamily, SocketType, ProtocolType, ILogTag) |
Initializes a new instance of the StandardSocket class
|
| Name | Description | |
|---|---|---|
| AddressFamily | (Inherited from BaseSocket.) | |
| Available | (Overrides BaseSocketAvailable.) | |
| Connected |
True if the socket was connected at the last operation
(Overrides BaseSocketConnected.) | |
| LocalEndPoint |
Gets the local endpoint.
(Overrides BaseSocketLocalEndPoint.) | |
| NoDelay | ||
| RemoteEndPoint |
Gets the remote end-point.
(Overrides BaseSocketRemoteEndPoint.) | |
| Socket |
Gets plain .NET socket
| |
| TCPBufferSize | ||
| Timeout |
| Name | Description | |
|---|---|---|
| Accept |
Creates a new Socket for a newly created connection
(Overrides BaseSocketAccept(Int32).) | |
| BeginAccept | (Overrides BaseSocketBeginAccept(AsyncCallback, Object).) | |
| BeginReceive | (Overrides BaseSocketBeginReceive(Byte, Int32, Int32, SocketFlags, AsyncCallback, Object).) | |
| Bind |
Associates a Socket with a local endpoint.
(Overrides BaseSocketBind(EndPoint).) | |
| Close |
Closes the Socket connection and releases all associated resources.
(Overrides BaseSocketClose.) | |
| Connect(EndPoint) |
Establishes a connection to a remote endpoint
(Overrides BaseSocketConnect(EndPoint).) | |
| Connect(EndPoint, Int32) |
Establishes a connection to a remote endpoint
(Overrides BaseSocketConnect(EndPoint, Int32).) | |
| EndAccept | (Overrides BaseSocketEndAccept(IAsyncResult).) | |
| EndReceive | (Overrides BaseSocketEndReceive(IAsyncResult).) | |
| 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.
(Overrides BaseSocketGetStream.) | |
| GetStream(Boolean) |
Get the stream associated with the socket.
(Overrides BaseSocketGetStream(Boolean).) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Listen |
Places socket in a listening state.
(Overrides BaseSocketListen(Int32).) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Poll | (Overrides BaseSocketPoll(Int32, SelectMode).) | |
| Receive |
Receives data from a bound Socket.
(Overrides BaseSocketReceive(Byte).) | |
| Send(Byte) |
Sends data to a connected Socket.
(Overrides BaseSocketSend(Byte).) | |
| Send(Byte, Int32, Int32, SocketFlags) | (Overrides BaseSocketSend(Byte, Int32, Int32, SocketFlags).) | |
| SetSocketOption |
Sets a Socket option.
(Overrides BaseSocketSetSocketOption(SocketOptionLevel, SocketOptionName, Int32).) | |
| Shutdown | (Overrides BaseSocketShutdown(SocketShutdown).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| addressFamily | (Inherited from BaseSocket.) | |
| logTag | Logging tag (Inherited from BaseSocket.) | |
| protocolType | (Inherited from BaseSocket.) | |
| SOCKET_BUFFER_SIZE | Obsolete.
Used to set socket ReceiveBuffer and SendBuffer but now obsolete.
| |
| socketType | (Inherited from BaseSocket.) |