edtFTPnet/Free - Open-source FTP component for .NET | Download

StandardSocket Class

Standard implementation of BaseSocket

Definition

Namespace: EnterpriseDT.Net
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
C#
public class StandardSocket : BaseSocket
Inheritance
Object    BaseSocket    StandardSocket

Constructors

StandardSocket(Socket) Initializes a new instance of the StandardSocket class
StandardSocket(AddressFamily, SocketType, ProtocolType, ILogTag) Initializes a new instance of the StandardSocket class

Properties

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)
RemoteEndPoint Gets the remote end-point.
(Overrides BaseSocketRemoteEndPoint)
Socket Gets plain .NET socket

Methods

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))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes 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))
GetTypeGets the Type of the current instance.
(Inherited from Object)
Listen Places socket in a listening state.
(Overrides BaseSocketListen(Int32))
MemberwiseCloneCreates 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))
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

addressFamily
(Inherited from BaseSocket)
logTag Logging tag
(Inherited from BaseSocket)
protocolType
(Inherited from BaseSocket)
socketType
(Inherited from BaseSocket)

See Also