edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

BaseSocket Class

Socket abstraction that simplifies socket code
Inheritance Hierarchy

Namespace:  EnterpriseDT.Net
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public abstract class BaseSocket

The BaseSocket type exposes the following members.

Constructors
  NameDescription
Public methodBaseSocket
Creates a BaseSocket.
Public methodBaseSocket(AddressFamily, SocketType, ProtocolType, ILogTag)
Initializes a new instance of the StandardSocket class
Top
Properties
  NameDescription
Public propertyAddressFamily
Public propertyAvailable
Public propertyConnected
True if the socket was connected at the last operation
Public propertyLocalEndPoint
Gets the local endpoint.
Public propertyRemoteEndPoint
Gets the remote endpoint.
Top
Methods
  NameDescription
Public methodAccept
Creates a new Socket for a newly created connection
Public methodBeginAccept
Public methodBeginReceive
Public methodBind
Associates a Socket with a local endpoint.
Public methodClose
Closes the Socket connection and releases all associated resources.
Public methodConnect(EndPoint)
Establishes a connection to a remote endpoint
Public methodConnect(EndPoint, Int32)
Establishes a connection to a remote endpoint
Public methodEndAccept
Public methodEndReceive
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStream
Get the stream associated with the socket.
Public methodGetStream(Boolean)
Get the stream associated with the socket.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListen
Places socket in a listening state.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPoll
Public methodReceive
Receives data from a bound Socket.
Public methodSend(Byte)
Sends data to a connected Socket.
Public methodSend(Byte, Int32, Int32, SocketFlags)
Public methodSetSocketOption
Sets a Socket option.
Public methodShutdown
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldaddressFamily
Protected fieldStatic memberlog
Logging object
Protected fieldlogTag
Logging tag
Protected fieldprotocolType
Protected fieldsocketType
Top
See Also