| Class |
Description |
| CSocketWrench |
Constructor which initializes the current instance of the class. |
| ~CSocketWrench |
Destructor which releases resources allocated by the class. |
| Method |
Description |
| Abort |
Abort the connection and immediately close the socket. |
| Accept |
Accept a connection request from a remote host. |
| AttachHandle |
Attach the specified client handle to this instance of the class. |
| AttachThread |
Attach the specified socket to another thread. |
| Cancel |
Cancel a blocking operation. |
| CompareAddress |
Compare two IP addresses to determine if they are identical. |
| Connect |
Connect to the specified server. |
| ConnectUrl |
Connect to the specified server using a URL. |
| CreateSecurityCredentials |
Create a new security credentials structure. |
| DeleteSecurityCredentials |
Delete a previously created security credentials structure. |
| DetachHandle |
Detach the handle for the current instance of this class. |
| DisableEvents |
Disable asynchronous event notification. |
| DisableSecurity |
Disable secure communication with the remote host. |
| DisableTrace |
Disable logging of network function calls. |
| Disconnect |
Disconnect from the current server. |
| EnableEvents |
Enable asynchronous event notification. |
| EnableSecurity |
Enable secure communication with the remote host. |
| EnableTrace |
Enable logging of network function calls to a file. |
| EnumNetworkAddresses |
Return the list of network addresses that are configured for the local host. |
| Flush |
Flush the send and receive buffers. |
| FormatAddress |
Convert an IP address in binary format into a printable string. |
| FreezeEvents |
Suspend or resume event handling by the application. |
| GetAdapterAddress |
Return the IP or MAC assigned to the specified network adapter. |
| GetAddress |
Convert an IP address string to a binary format. |
| GetAddressFamily |
Return the address family for the specified IP address. |
| GetDefaultHostFile |
Return the fully qualified path name of the host file on the local system. |
| GetErrorString |
Return a description for the specified error code. |
| GetExternalAddress |
Return the external IP address assigned to the local system. |
| GetFirstAlias |
Return the first alias for the specified host name. |
| GetHandle |
Return the client handle used by this instance of the class. |
| GetHostAddress |
Return the IP address assigned to the specified hostname. |
| GetHostFile |
Return the name of the host file. |
| GetHostName |
Return the hostname assigned to the specified IP address. |
| GetLastError |
Return the last error code. |
| GetLocalAddress |
Return the local IP address and port number for a socket. |
| GetLocalName |
Return the hostname assigned to the local system. |
| GetMemoryUsage |
Return the amount of memory allocated for the network connection. |
| GetNextAlias |
Return the next alias for the specified host name. |
| GetOption |
Return the current socket options. |
| GetPeerAddress |
Return the IP address of the peer that the socket is connected to. |
| GetPeerPort |
Returns the remote port number used by the client to establish the connection. |
| GetPhysicalAddress |
Return the media access control (MAC) address for the primary network adapter. |
| GetSecurityInformation |
Return information about the security characteristics of a connection. |
| GetServiceName |
Return the service name associated with a specified port number. |
| GetServicePort |
Return the port number associated with a service name. |
| GetStatus |
Report what sort of socket operation is in progress. |
| GetStreamInfo |
Return information about the current stream read or write operation. |
| GetTimeout |
Return the timeout interval for blocking operations, in seconds. |
| GetUrlHostName |
Return the host name and port number specified in a URL. |
| GetVpnAdapter |
Return the name of the active Virtual Private Network adapter. |
| HostNameToUnicode |
Converts the canonical form of a host name to its Unicode version. |
| InetEventProc |
Callback method that processes events generated on the socket. |
| IsAddressNull |
Determine if the specified IP address is a null address. |
| IsAddressRoutable |
Determine if the specified IP address is routable over the Internet. |
| IsBlocking |
Determine if the socket is performing a blocking operation. |
| IsClosed |
Determine if the remote host has closed its socket. |
| IsConnected |
Determine if the socket is connected to a remote host. |
| IsInitialized |
Determine if the class has been successfully initialized. |
| IsListening |
Determine if the socket is listening for a connection. |
| IsProtocolAvailable |
Determine if the specified protocol and address family are supported. |
| IsReadable |
Determine if data can read from the socket without blocking. |
| IsUrgent |
Determine if there is any out-of-band data available to be read. |
| IsWritable |
Determine if data can be written to the socket without blocking. |
| Listen |
Listen for client connections on the specified socket. |
| MatchHostName |
Match a host name against of list of addresses including wildcards. |
| NormalizeHostName |
Return the canonical form of a host name. |
| Peek |
Read data from the socket without removing it from the socket buffer. |
| Read |
Read data from the socket. |
| ReadLine |
Read a line of data from the socket, storing it in a string buffer. |
| ReadStream |
Read a stream of data from the socket. |
| RegisterEvent |
Register an event callback function. |
| Reject |
Reject a pending client connection. |
| SetHostFile |
Specify the name of an alternate host table. |
| SetLastError |
Set the last error code. |
| SetOption |
Set one or more options for the current socket. |
| SetTimeout |
Set the interval used when waiting for a blocking operation to complete. |
| ShowError |
Display a message box with a description of the specified error. |
| Shutdown |
Disable reception or transmission of data. |
| StoreStream |
Read a stream of data from the socket and store it in a file. |
| ValidateCertificate |
Validate the specified security certificate is installed on the local system. |
| ValidateHostName |
Validate the specified host name and return the resolved IP address. |
| Write |
Write data to the socket. |
| WriteLine |
Write a line of data to the socket, terminated with a carriage-return and linefeed. |
| WriteStream |
Write a stream of data to the socket. |