| Class |
Description |
| CInternetServer |
Constructor which initializes the current instance of the class. |
| ~CInternetServer |
Destructor which releases resources allocated by the class. |
| Method |
Description |
| Abort |
Abort the connection and immediately close the socket. |
| AsyncNotify |
Enable or disable asynchronous notification of changes in server status. |
| AttachHandle |
Attach the specified server handle to this instance of the class. |
| Broadcast |
Write data to all active clients currently connected to the server. |
| Cancel |
Cancel a blocking operation for the specified client session. |
| CompareAddress |
Compare two IP addresses to determine if they are identical. |
| DetachHandle |
Detach the server handle from the current instance of this class. |
| DisableSecurity |
Disable secure communication with the client. |
| DisableTrace |
Disable logging of network function calls. |
| Disconnect |
Disconnect the client, closing the socket handle and terminating the session. |
| EnableSecurity |
Enable secure communication with the client. |
| EnableTrace |
Enable logging of network function calls to a file. |
| EnumClients |
Returns a list of active client connections established with the server. |
| EnumNetworkAddresses |
Return the list of network addresses that are configured for the local host. |
| FindClient |
Returns a handle to the client which matches the specified client ID or moniker. |
| FormatAddress |
Convert an IP address in binary format into a printable string. |
| Flush |
Flush the send and receive buffers for the specified client session. |
| GetActiveClient |
Return the socket handle for the active client session. |
| 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. |
| GetBacklog |
Return the size of the backlog connection queue for the server. |
| GetClientAddress |
Return the IP address and port number for the specified client session. |
| GetClientData |
Returns the application defined data associated with the specified client session. |
| GetClientHandle |
Returns the handle for a specific client session based on its ID number. |
| GetClientId |
Returns the unique ID number assigned to the specified client session. |
| GetClientIdleTime |
Returns the amount of time the specified client session has been idle. |
| GetClientMoniker |
Returns the string alias associated with the specified client session. |
| GetClientPort |
Returns the remote port number used by the client to establish the connection. |
| GetClientServer |
Returns a socket handle to the server for the specified client socket. |
| GetClientServerById |
Returns a socket handle to the server for the specified session identifier. |
| GetClientThreadId |
Returns the thread ID for the specified client. |
| GetClientThreads |
Returns the number of client session threads created by the server. |
| GetErrorString |
Return a description for the specified error code. |
| GetExternalAddress |
Return the external IP address assigned to the local system. |
| GetHandle |
Return the client handle used by this instance of the class. |
| GetHostAddress |
Return the IP address assigned to the specified hostname. |
| 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 the server. |
| GetLocalName |
Return the hostname assigned to the local system. |
| GetMemoryUsage |
Return the amount of memory allocated for the server. |
| GetOptions |
Return the current server options. |
| GetPriority |
Return the current priority assigned to the server. |
| GetStackSize |
Return the initial size of the stack allocated for threads created by the server. |
| GetStatus |
Return the current status of the server. |
| GetStreamInfo |
Return information about the current stream I/O operation. |
| GetThreadClient |
Return the handle for the client session that is being managed by the specified thread. |
| GetTimeout |
Return the timeout interval for blocking operations in seconds. |
| IsActive |
Determine if the server is currently active. |
| IsAddressNull |
Determine if the specified IP address is a null address. |
| IsAddressRoutable |
Determine if the specified IP address is routable over the Internet. |
| IsInitialized |
Determine if the class has been successfully initialized. |
| IsListening |
Determine if the server is listening for client connections. |
| IsLocked |
Determine if the server is currently in a locked state. |
| IsProtocolAvailable |
Determine if the specified protocol and address family are supported. |
| IsReadable |
Determine if data is available to be read from the client. |
| IsWritable |
Determine if data can be sent to the client without causing the thread to block. |
| Lock |
Lock the server, causing all other client threads to block until it is unlocked. |
| MatchHostName |
Match a host name against one more strings that may contain wildcards. |
| Peek |
Read data from the client without removing it from the socket buffer. |
| Read |
Read data from the client. |
| ReadLine |
Read a line of data from the client, storing it in a string buffer. |
| ReadStream |
Read a stream of data from the client and store it in the specified buffer. |
| Reject |
Reject a pending client connection. |
| Restart |
Restart the server, terminating all active client sessions. |
| Resume |
Resume accepting client connections on the specified server. |
| SetBacklog |
Set the size of the backlog connection queue for the server. |
| SetCertificate |
Specify the server certificate that should be used with secure connections. |
| SetClientData |
Associate application defined data with the specified client session. |
| SetClientMoniker |
Associate a unique string alias with the specified client session. |
| SetLastError |
Set the last error code. |
| SetOptions |
Set one or more server options. |
| SetPriority |
Set the priority assigned to the server. |
| SetStackSize |
Change the initial size of the stack allocated for client session threads. |
| SetTimeout |
Set the timeout interval used when waiting for a blocking operation to complete. |
| ShowError |
Display a message box with a description of the specified error. |
| Start |
Begin listening for client connections on the specified address and port. |
| Stop |
Stop listening for connections and terminate all client sessions. |
| StoreStream |
Read a stream of data from the client and store it in a file. |
| Suspend |
Suspend accepting client connections and optionally reject or disconnect clients. |
| Throttle |
Limit the number of active client connections, connections per address and connection rate. |
| Unlock |
Unlock the server, allowing other client threads to resume execution. |
| ValidateCertificate |
Validate the specified security certificate is installed on the local system. |
| Write |
Write data to the client. |
| WriteLine |
Write a line of data to the client, terminated with a carriage-return and linefeed. |
| WriteStream |
Write a stream of data to the client. |