The StandardSocket type exposes the following members.

Constructors

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

Methods

  NameDescription
Public methodAccept
Creates a new Socket for a newly created connection
(Overrides BaseSocket..::..Accept(Int32).)
Public methodBeginAccept
Public methodBeginReceive
Public methodBind
Associates a Socket with a local endpoint.
(Overrides BaseSocket..::..Bind(EndPoint).)
Public methodClose
Closes the Socket connection and releases all associated resources.
(Overrides BaseSocket..::..Close()()()().)
Public methodConnect(EndPoint)
Establishes a connection to a remote endpoint
(Overrides BaseSocket..::..Connect(EndPoint).)
Public methodConnect(EndPoint, Int32)
Establishes a connection to a remote endpoint
(Overrides BaseSocket..::..Connect(EndPoint, Int32).)
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 attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetStream()()()()
Get the stream associated with the socket.
(Overrides BaseSocket..::..GetStream()()()().)
Public methodGetStream(Boolean)
Get the stream associated with the socket.
(Overrides BaseSocket..::..GetStream(Boolean).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodListen
Places socket in a listening state.
(Overrides BaseSocket..::..Listen(Int32).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPoll (Overrides BaseSocket..::..Poll(Int32, SelectMode).)
Public methodReceive
Receives data from a bound Socket.
(Overrides BaseSocket..::..Receive(array<Byte>[]()[][]).)
Public methodSend(array<Byte>[]()[][])
Sends data to a connected Socket.
(Overrides BaseSocket..::..Send(array<Byte>[]()[][]).)
Public methodSend(array<Byte>[]()[][], Int32, Int32, SocketFlags)
Public methodSetSocketOption
Sets a Socket option.
(Overrides BaseSocket..::..SetSocketOption(SocketOptionLevel, SocketOptionName, Int32).)
Public methodShutdown (Overrides BaseSocket..::..Shutdown(SocketShutdown).)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Protected fieldaddressFamily
(Inherited from BaseSocket.)
Protected fieldlogTag
Logging tag
(Inherited from BaseSocket.)
Protected fieldprotocolType
(Inherited from BaseSocket.)
Protected fieldsocketType
(Inherited from BaseSocket.)

Properties

  NameDescription
Public propertyAddressFamily (Inherited from BaseSocket.)
Public propertyAvailable (Overrides BaseSocket..::..Available.)
Public propertyConnected
True if the socket was connected at the last operation
(Overrides BaseSocket..::..Connected.)
Public propertyLocalEndPoint
Gets the local endpoint.
(Overrides BaseSocket..::..LocalEndPoint.)
Public propertyRemoteEndPoint
Gets the remote end-point.
(Overrides BaseSocket..::..RemoteEndPoint.)
Public propertySocket
Gets plain .NET socket

See Also