Socket Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Accept | Creates a new Socket for a newly created connection. |
| BeginAccept | Overloaded. Begins an asynchronous operation to accept an incoming connection attempt. |
| BeginConnect | Overloaded. Begins an asynchronous request for a remote host connection. |
| BeginDisconnect | Begins an asynchronous request to disconnect from a remote endpoint. |
| BeginReceive | Overloaded. Begins to asynchronously receive data from a connected Socket. |
| BeginReceiveFrom | Begins to asynchronously receive data from a specified network device. |
| BeginReceiveMessageFrom | Begins to asynchronously receive the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information.. |
| BeginSend | Overloaded. Sends data asynchronously to a connected Socket. |
| BeginSendFile | Overloaded. Sends a file asynchronously to a connected Socket object. |
| BeginSendTo | Sends data asynchronously to a specific remote host. |
| Bind | Associates a Socket with a local endpoint. |
| Close | Overloaded. Closes the Socket connection and releases all associated resources. |
| Connect | Overloaded. Establishes a connection to a remote host. |
| Disconnect | Closes the socket connection and allows reuse of the socket. |
| DuplicateAndClose | Duplicates the socket reference for the target process, and closes the socket for this process. |
| EndAccept | Overloaded. Asynchronously accepts an incoming connection attempt. |
| EndConnect | Ends a pending asynchronous connection request. |
| EndDisconnect | Ends a pending asynchronous disconnect request. |
| EndReceive | Overloaded. Ends a pending asynchronous read. |
| EndReceiveFrom | Ends a pending asynchronous read from a specific endpoint. |
| EndReceiveMessageFrom | Ends a pending asynchronous read from a specific endpoint. This method also reveals more information about the packet than EndReceiveFrom. |
| EndSend | Overloaded. Ends a pending asynchronous send. |
| EndSendFile | Ends a pending asynchronous send of a file. |
| EndSendTo | Ends a pending asynchronous send to a specific location. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetSocketOption | Overloaded. Returns the value of a Socket option. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IOControl | Overloaded. Sets low-level operating modes for the Socket. |
| Listen | Places a Socket in a listening state. |
| Poll | Determines the status of the Socket. |
| Receive | Overloaded. Receives data from a bound Socket. |
| ReceiveFrom | Overloaded. Receives a datagram and stores the source endpoint. |
| ReceiveMessageFrom | Receives the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint and packet information. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| Select | Determines the status of one or more sockets. |
| Send | Overloaded. Sends data to a connected Socket. |
| SendFile | Overloaded. Sends a file and optional data synchronously to a connected Socket. |
| SendTo | Overloaded. Sends data to a specific endpoint. |
| SetSocketOption | Overloaded. Sets a Socket option. |
| Shutdown | Disables sends and receives on a Socket. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Dispose | Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources. |
| Finalize | Overridden. Frees resources used by the Socket class. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |