CAsyncSocket Members
Base Class Members
Construction
Constructs a CAsyncSocket object. |
|
Creates a socket. |
Attributes
Attaches a socket handle to a CAsyncSocket object. |
|
Detaches a socket handle from a CAsyncSocket object. |
|
Returns a pointer to a CAsyncSocket object, given a socket handle. |
|
Gets the error status for the last operation that failed. |
|
Gets the address of the peer socket to which the socket is connected. |
|
Gets the address of the peer socket to which the socket is connected (handles IPv6 addresses). |
|
Gets the local name for a socket. |
|
Gets the local name for a socket (handles IPv6 addresses). |
|
Retrieves a socket option. |
|
Sets a socket option. |
Operations
Accepts a connection on the socket. |
|
Requests event notification for the socket. |
|
Associates a local address with the socket. |
|
Closes the socket. |
|
Establishes a connection to a peer socket. |
|
Controls the mode of the socket. |
|
Establishes a socket to listen for incoming connection requests. |
|
Receives data from the socket. |
|
Receives a datagram and stores the source address. |
|
Receives a datagram and stores the source address (handles IPv6 addresses). |
|
Sends data to a connected socket. |
|
Sends data to a specific destination. |
|
Sends data to a specific destination (handles IPv6 addresses). |
|
Disables Send and/or Receive calls on the socket. |
|
Allocates a socket handle. |
Overridable Notification Functions
Notifies a listening socket that it can accept pending connection requests by calling Accept. |
|
Notifies a socket that the socket connected to it has closed. |
|
Notifies a connecting socket that the connection attempt is complete, whether successfully or in error. |
|
Notifies a receiving socket that there is out-of-band data to be read on the socket, usually an urgent message. |
|
Notifies a listening socket that there is data to be retrieved by calling Receive. |
|
Notifies a socket that it can send data by calling Send. |
Operators
Assigns a new value to a CAsyncSocket object. |
|
Use this operator to retrieve the SOCKET handle of the CAsyncSocket object. |
Data Members
Indicates the SOCKET handle attached to this CAsyncSocket object. |