Mono Class Library: Overview

System.Net.Sockets.Socket: Method Members

The methods of System.Net.Sockets.Socket are listed below. For a list of all members, see the Socket Members list.

See Also: Inherited members from System.Object

Public Methods

Accept() : System.Net.Sockets.Socket
Creates and initializes a new System.Net.Sockets.Socket instance and connects it to an incoming connection request.
AcceptAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
BeginAccept(AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to accept an incoming connection request.
BeginAccept(int, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginAccept(System.Net.Sockets.Socket, int, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginConnect(EndPoint, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to associate the current instance with a remote endpoint.
BeginConnect(IPAddress, int, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginConnect(IPAddress[], int, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginConnect(string, int, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginDisconnect(bool, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginReceive(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginReceive(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginReceive(byte[], int, int, System.Net.Sockets.SocketFlags, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to receive data from a socket.
BeginReceive(byte[], int, int, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginReceiveFrom(byte[], int, int, System.Net.Sockets.SocketFlags, ref EndPoint, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to receive data from a socket and, for connectionless protocols, store the endpoint associated with the socket that sent the data.
BeginReceiveMessageFrom(byte[], int, int, System.Net.Sockets.SocketFlags, ref EndPoint, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSend(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSend(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSend(byte[], int, int, System.Net.Sockets.SocketFlags, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to send data to a connected socket.
BeginSend(byte[], int, int, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSendFile(string, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSendFile(string, byte[], byte[], System.Net.Sockets.TransmitFileOptions, AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginSendTo(byte[], int, int, System.Net.Sockets.SocketFlags, EndPoint, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to send data to the socket associated with the specified endpoint.
Bind(EndPoint)
Associates the current instance with a local endpoint.
Close()
Closes the current instance and releases all managed and unmanaged resources allocated by the current instance.
Close(int)
Documentation for this section has not yet been entered.
Connect(EndPoint)
Associates the current instance with a remote endpoint.
Connect(IPAddress, int)
Documentation for this section has not yet been entered.
Connect(IPAddress[], int)
Documentation for this section has not yet been entered.
Connect(string, int)
Documentation for this section has not yet been entered.
ConnectAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
Disconnect(bool)
Documentation for this section has not yet been entered.
DisconnectAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
DuplicateAndClose(int) : System.Net.Sockets.SocketInformation
Documentation for this section has not yet been entered.
EndAccept(IAsyncResult) : System.Net.Sockets.Socket
Ends an asynchronous call to accept an incoming connection request.
EndAccept(out byte[], IAsyncResult) : System.Net.Sockets.Socket
Documentation for this section has not yet been entered.
EndAccept(out byte[], out int, IAsyncResult) : System.Net.Sockets.Socket
Documentation for this section has not yet been entered.
EndConnect(IAsyncResult)
Ends an asynchronous call to associate the current instance with a remote endpoint.
EndDisconnect(IAsyncResult)
Documentation for this section has not yet been entered.
EndReceive(IAsyncResult) : int
Ends an asynchronous call to receive data from a socket.
EndReceive(IAsyncResult, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
EndReceiveFrom(IAsyncResult, ref EndPoint) : int
Ends an asynchronous call to receive data from a socket and store the endpoint associated with the socket that sent the data.
EndReceiveMessageFrom(IAsyncResult, ref System.Net.Sockets.SocketFlags, ref EndPoint, out System.Net.Sockets.IPPacketInformation) : int
Documentation for this section has not yet been entered.
EndSend(IAsyncResult) : int
Ends an asynchronous call to send data to a connected socket.
EndSend(IAsyncResult, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
EndSendFile(IAsyncResult)
Documentation for this section has not yet been entered.
EndSendTo(IAsyncResult) : int
Ends an asynchronous call to send data to a socket associated with a specified endpoint.
Finalize()
Closes the current instance and releases unmanaged resources allocated by the current instance.
override
GetHashCode() : int
Generates a hash code for the current instance.
GetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName) : object
Retrieves an object containing the value of the specified socket option.
GetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, byte[])
Retrieves the value of the specified socket option.
GetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, int) : byte[]
Retrieves the value of the specified socket option.
IOControl(int, byte[], byte[]) : int
Provides low-level access to the socket, the transport protocol, or the communications subsystem.
IOControl(System.Net.Sockets.IOControlCode, byte[], byte[]) : int
Documentation for this section has not yet been entered.
Listen(int)
Places the current instance into the listening state where it waits for incoming connection requests.
Poll(int, System.Net.Sockets.SelectMode) : bool
Determines the read, write, or error status of the current instance.
Receive(byte[]) : int
Receives data from a socket.
Receive(IList<ArraySegment<byte>>) : int
Documentation for this section has not yet been entered.
Receive(byte[], System.Net.Sockets.SocketFlags) : int
Receives data from a socket.
Receive(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags) : int
Documentation for this section has not yet been entered.
Receive(byte[], int, System.Net.Sockets.SocketFlags) : int
Receives data from a socket.
Receive(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
Receive(byte[], int, int, System.Net.Sockets.SocketFlags) : int
Receives data from a socket.
Receive(byte[], int, int, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
ReceiveAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
ReceiveFrom(byte[], ref EndPoint) : int
Receives data from a socket and, for connectionless protocols, stores the endpoint associated with the socket that sent the data.
ReceiveFrom(byte[], System.Net.Sockets.SocketFlags, ref EndPoint) : int
Receives data from a socket and, for connectionless protocols, stores the endpoint associated with the socket that sent the data.
ReceiveFrom(byte[], int, System.Net.Sockets.SocketFlags, ref EndPoint) : int
Receives data from a socket and, for connectionless protocols, stores the endpoint associated with the socket that sent the data.
ReceiveFrom(byte[], int, int, System.Net.Sockets.SocketFlags, ref EndPoint) : int
Receives data from a socket and, for connectionless protocols, stores the endpoint associated with the socket that sent the data.
ReceiveFromAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
ReceiveMessageFrom(byte[], int, int, ref System.Net.Sockets.SocketFlags, ref EndPoint, out System.Net.Sockets.IPPacketInformation) : int
Documentation for this section has not yet been entered.
ReceiveMessageFromAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
static
Select(IList, IList, IList, int)
Determines the read, write, or error status of a set of System.Net.Sockets.Socket instances.
Send(byte[]) : int
Sends data to a connected socket.
Send(IList<ArraySegment<byte>>) : int
Documentation for this section has not yet been entered.
Send(byte[], System.Net.Sockets.SocketFlags) : int
Sends data to a connected socket.
Send(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags) : int
Documentation for this section has not yet been entered.
Send(byte[], int, System.Net.Sockets.SocketFlags) : int
Sends data to a connected socket.
Send(IList<ArraySegment<byte>>, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
Send(byte[], int, int, System.Net.Sockets.SocketFlags) : int
Sends data to a connected socket.
Send(byte[], int, int, System.Net.Sockets.SocketFlags, out System.Net.Sockets.SocketError) : int
Documentation for this section has not yet been entered.
SendAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
SendFile(string)
Documentation for this section has not yet been entered.
SendFile(string, byte[], byte[], System.Net.Sockets.TransmitFileOptions)
Documentation for this section has not yet been entered.
SendPacketsAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
SendTo(byte[], EndPoint) : int
Sends data to the socket associated with the specified endpoint.
SendTo(byte[], System.Net.Sockets.SocketFlags, EndPoint) : int
Sends data to the socket associated with the specified endpoint.
SendTo(byte[], int, System.Net.Sockets.SocketFlags, EndPoint) : int
Sends data to the socket associated with the specified endpoint.
SendTo(byte[], int, int, System.Net.Sockets.SocketFlags, EndPoint) : int
Sends data to the socket associated with the specified endpoint.
SendToAsync(System.Net.Sockets.SocketAsyncEventArgs) : bool
Documentation for this section has not yet been entered.
SetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, bool)
Documentation for this section has not yet been entered.
SetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, byte[])
Sets socket options with values of type Byte[].
SetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, int)
Sets socket options with values of type int and bool.
SetSocketOption(System.Net.Sockets.SocketOptionLevel, System.Net.Sockets.SocketOptionName, object)
Sets the SocketOptionName.AddMembership, SocketOptionName.DropMembership, or SocketOptionName.Linger socket options.
Shutdown(System.Net.Sockets.SocketShutdown)
Terminates the ability to send or receive data on a connected socket.

Protected Methods

Dispose(bool)
Closes the current instance, releases the unmanaged resources allocated by the current instance, and optionally releases the managed resources.