DotMSN

ProxySocket Methods

The methods of the ProxySocket class are listed below. For a complete list of ProxySocket class members, see the ProxySocket Members topic.

Public Instance Methods

Accept (inherited from Socket)Creates a new Socket for a newly created connection.
BeginAccept (inherited from Socket)Overloaded. Begins an asynchronous operation to accept an incoming connection attempt.
BeginConnectOverloaded. Begins an asynchronous request for a connection to a network device.
BeginConnect (inherited from Socket)Overloaded. Begins an asynchronous request for a remote host connection. The host is specified by an IPAddress and a port number.
BeginDisconnect (inherited from Socket)Begins an asynchronous request to disconnect from a remote endpoint.
BeginReceive (inherited from Socket)Overloaded. Begins to asynchronously receive data from a connected Socket.
BeginReceiveFrom (inherited from Socket)Begins to asynchronously receive data from a specified network device.
BeginReceiveMessageFrom (inherited from Socket)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 (inherited from Socket)Overloaded. Sends data asynchronously to a connected Socket.
BeginSendFile (inherited from Socket)Overloaded. Sends the file fileName to a connected Socket object using the UseDefaultWorkerThread flag.
BeginSendTo (inherited from Socket)Sends data asynchronously to a specific remote host.
Bind (inherited from Socket)Associates a Socket with a local endpoint.
Close (inherited from Socket)Overloaded. Closes the Socket connection and releases all associated resources.
ConnectOverloaded. Establishes a connection to a remote device.
Connect (inherited from Socket)Overloaded. Establishes a connection to a remote host. The host is specified by an IP address and a port number.
Disconnect (inherited from Socket)Closes the socket connection and allows reuse of the socket.
DuplicateAndClose (inherited from Socket)Duplicates the socket reference for the target process, and closes the socket for this process.
EndAccept (inherited from Socket)Overloaded. Asynchronously accepts an incoming connection attempt and creates a new Socket to handle remote host communication.
EndConnect Ends a pending asynchronous connection request.
EndDisconnect (inherited from Socket)Ends a pending asynchronous disconnect request.
EndReceive (inherited from Socket)Overloaded. Ends a pending asynchronous read.
EndReceiveFrom (inherited from Socket)Ends a pending asynchronous read from a specific endpoint.
EndReceiveMessageFrom (inherited from Socket)Ends a pending asynchronous read from a specific endpoint. This method also reveals more information about the packet than EndReceiveFrom.
EndSend (inherited from Socket)Overloaded. Ends a pending asynchronous send.
EndSendFile (inherited from Socket)Ends a pending asynchronous send of a file.
EndSendTo (inherited from Socket)Ends a pending asynchronous send to a specific location.
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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetSocketOption (inherited from Socket)Overloaded. Returns the value of a specified Socket option, represented as an object.
GetType (inherited from Object)Gets the Type of the current instance.
IOControl (inherited from Socket)Overloaded. Sets low-level operating modes for the Socket using numerical control codes.
Listen (inherited from Socket)Places a Socket in a listening state.
Poll (inherited from Socket)Determines the status of the Socket.
Receive (inherited from Socket)Overloaded. Receives the specified number of bytes of data from a bound Socket into a receive buffer, using the specified SocketFlags.
ReceiveFrom (inherited from Socket)Overloaded. Receives the specified number of bytes of data into the specified location of the data buffer, using the specified SocketFlags, and stores the endpoint.
ReceiveMessageFrom (inherited from Socket)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.
Send (inherited from Socket)Overloaded. Sends the specified number of bytes of data to a connected Socket, using the specified SocketFlags.
SendFile (inherited from Socket)Overloaded. Sends the file fileName to a connected Socket object with the UseDefaultWorkerThread transmit flag.
SendTo (inherited from Socket)Overloaded. Sends the specified number of bytes of data to the specified endpoint, starting at the specified location in the buffer, and using the specified SocketFlags.
SetSocketOption (inherited from Socket)Overloaded. Sets the specified Socket option to the specified integer value.
Shutdown (inherited from Socket)Disables sends and receives on a Socket.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Dispose (inherited from Socket)Releases the unmanaged resources used by the Socket, and optionally disposes of the managed resources.
Finalize (inherited from Socket)Frees resources used by the Socket class.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ProxySocket Class | Org.Mentalis.Network.ProxySocket Namespace