The BaseSocket type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Accept |
Creates a new Socket for a newly created connection
|
![]() | BeginAccept | |
![]() | BeginReceive | |
![]() | Bind |
Associates a Socket with a local endpoint.
|
![]() | Close |
Closes the Socket connection and releases all associated resources.
|
![]() | Connect(EndPoint) |
Establishes a connection to a remote endpoint
|
![]() | Connect(EndPoint, Int32) |
Establishes a connection to a remote endpoint
|
![]() | EndAccept | |
![]() | EndReceive | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetStream()()()() |
Get the stream associated with the socket.
|
![]() | GetStream(Boolean) |
Get the stream associated with the socket.
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | Listen |
Places socket in a listening state.
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Poll | |
![]() | Receive |
Receives data from a bound Socket.
|
![]() | Send(array<Byte>[]()[][]) |
Sends data to a connected Socket.
|
![]() | Send(array<Byte>[]()[][], Int32, Int32, SocketFlags) | |
![]() | SetSocketOption |
Sets a Socket option.
|
![]() | Shutdown | |
![]() | ToString | (Inherited from Object.) |