SocketWrench Library Functions
Function
Description
InetAbort
Abort the connection and immediately close the socket
InetAccept
Accept a connection request from a remote host
InetAcceptEx
Accept a client connection on a listening socket with additional options
InetAsyncAccept
Accept an asynchronous connection request from a remote host
InetAsyncAcceptEx
Accept a non-blocking connection on a listening socket
InetAsyncConnect
Connect asynchronously to the specified server
InetAsyncConnectEx
Connect asynchronously to the specified server
InetAsyncListen
Listen for client connections on an asynchronous socket
InetAsyncListenEx
Listen for client connections on an asynchronous socket with additional options
InetAttachSocket
Attach the socket handle to the specified process
InetAttachThread
Attach the specified socket to another thread
InetCancel
Cancel a blocking operation
InetClientBroadcast
Write data to all other clients that are connected to the same server
InetCompareAddress
Compare two IP addresses to determine if they are identical
InetConnect
Connect to the specified server
InetConnectEx
Connect to the specified server with additional connection information
InetConnectUrl
Connect to the specified server using a URL
InetCreateSecurityCredentials
Create a new security credentials structure
InetDeleteSecurityCredentials
Delete a previously created security credentials structure
InetDetachSocket
Detach the socket handle from the current process
InetDisableEvents
Disable asynchronous event notification
InetDisableSecurity
Disable secure communication with the remote host
InetDisableTrace
Disable logging of network function calls to the trace log
InetDisconnect
Disconnect from the current server
InetEnableEvents
Enable asynchronous event notification
InetEnableSecurity
Enable secure communication with the remote host
InetEnableTrace
Enable logging of network function calls to a file
InetEnumHostAliases
Return a byte array that contains all the aliases for a specified host
InetEnumNetworkAddresses
Return the list of network addresses that are configured for the local host
InetEnumServerClients
Returns a list of active client sessions established with the specified server
InetEnumServerClientsByAddress
Returns a list of active client sessions that match the specified IP address
InetEventProc
Callback method that processes events generated on the socket
InetFindClientMoniker
Returns a handle to the client socket which matches the specified moniker
InetFlush
Flush the send and receive buffers
InetFormatAddress
Convert an IP address in binary format into a printable string
InetFreezeEvents
Suspend or resume event handling by the application
InetGetAdapterAddress
Return the IP or MAC assigned to the specified network adapter
InetGetAddress
Convert an IP address string to a binary format
InetGetAddressFamily
Return the address family for the specified IP address
InetGetBlockingSocket
Return the handle for the socket which is blocked in the current thread
InetGetDefaultHostFile
Return the fully qualified path name of the host file on the local system
InetGetClientData
Returns the application defined data associated with the specified client session
InetGetClientHandle
Returns the handle for a specific client session based on its ID number
InetGetClientId
Returns the unique ID number assigned to the specified client session
InetGetClientIdleTime
Returns the amount of time the specified client session has been idle
InetGetClientMoniker
Returns the string alias associated with the specified client session
InetGetClientPriority
Returns the current priority for the specified client session
InetGetClientServer
Returns a socket handle to the server for the specified client socket
InetGetClientServerById
Returns a socket handle to the server for the specified session identifier
InetGetClientThreadId
Returns the thread ID for the specified client session
InetGetClientThreads
Returns the number of client session threads created by the server
InetGetErrorString
Return a description for the specified error code
InetGetExternalAddress
Return the external IP address assigned to the local system
InetGetHostAddress
Return the IP address assigned to the specified hostname
InetGetHostFile
Return the name of the host file
InetGetHostName
Return the hostname assigned to the specified IP address
InetGetLastError
Return the last error code
InetGetLocalAddress
Return the local IP address and port number for a socket
InetGetLocalName
Return the hostname assigned to the local system
InetGetLockedServer
Return the handle to the server which has been locked
InetGetMemoryUsage
Return the amount of memory allocated for the network connection
InetGetOption
Return the current socket options
InetGetPeerAddress
Return the IP address of the peer that the socket is connected to
InetGetPhysicalAddress
Return the media access control (MAC) address for the primary network adapter
InetGetSecurityInformation
Return information about the security characteristics of a connection
InetGetServerClient
Return the handle for the last client connection accepted by the server
InetGetServerData
Returns the application defined data associated with the specified server
InetGetServerPriority
Return the current priority assigned to the specified server
InetGetServerStackSize
Return the initial size of the stack allocated for threads created by the server
InetGetServerStatus
Returns the status of the specified server
InetGetServerThreadId
Returns the thread ID for the specified server
InetGetServiceName
Return the service name associated with a specified port number
InetGetServicePort
Return the port number associated with a service name
InetGetStatus
Report what sort of socket operation is in progress
InetGetStreamInfo
Return information about the current stream read or write operation
InetGetThreadClient
Return the handle for the client session that is being managed by the specified thread
InetGetTimeout
Return the timeout interval for blocking operations, in seconds
InetGetUrlHostName
Return the host name and port number specified in a URL
InetHostNameToUnicode
Converts the canonical form of a host name to its Unicode version
InetInitialize
Initialize the library and validate the specified user license key at runtime
InetIsAddressNull
Determine if the specified IP address is a null address
InetIsAddressRoutable
Determine if the specified IP address is routable over the Internet
InetIsBlocking
Determine if the socket is performing a blocking operation
InetIsClosed
Determine if the remote host has closed its socket
InetIsConnected
Determine if the socket is connected to a remote host
InetIsListening
Determine if the socket is listening for a connection
InetIsProtocolAvailable
Determine if the specified protocol and address family are supported
InetIsReadable
Determine if date can be read from the remote process
InetIsUrgent
Determine if there is any out-of-band (OOB) data available to be read
InetIsWritable
Determine if data can be written to the remote process
InetListen
Listen for client connections on the specified socket
InetListenEx
Listen for client connections on the specified socket with additional options
InetMatchHostName
Match a host name against of list of addresses including wildcards
InetNormalizeHostName
Return the canonical form of a host name
InetPeek
Read data from the socket without removing it from the socket buffer
InetRead
Read data from the socket
InetReadEx
Read data from the socket, with extended functionality
InetReadLine
Read a line of data from the socket, storing it in a string buffer
InetReadStream
Read a stream of data from the socket
InetRegisterEvent
Register an event callback function
InetReject
Reject a pending client connection request
InetServerAsyncNotify
Enable or disable asynchronous notification of changes in server status
InetServerBroadcast
Write data to all active clients currently connected to the specified server
InetServerLock
Lock the specified server, causing all other client threads to block until it is unlocked
InetServerRestart
Restart the server, terminating all active client sessions
InetServerResume
Resume accepting client connections on the specified server
InetServerStart
Begin listening for client connections on the specified address and port
InetServerStop
Stop listening for connections and terminate all client sessions
InetServerStopEx
Stop listening for connections and wait for the server to terminate
InetServerSuspend
Suspend accepting client connections on the specified server
InetServerSuspendEx
Suspend accepting client connections and optionally reject or disconnect clients
InetServerThrottle
Limit the number of active client connections, connections per address and connection rate
InetServerUnlock
Unlock the specified server, allowing other client threads to resume execution
InetSetClientData
Associate application defined data with the specified client session
InetSetClientMoniker
Associate a unique string alias with the specified client session
InetSetClientPriority
Set the priority for the specified client session
InetSetServerData
Associate application defined data with the specified server
InetSetServerPriority
Change the priority assigned to the specified server
InetSetServerStackSize
Change the initial size of the stack allocated for threads created by the server
InetSetHostFile
Specify the name of an alternate host table
InetSetLastError
Set the last error code
InetSetOption
Set one or more options for the current socket
InetSetTimeout
Set the interval used when waiting for a blocking operation to complete
InetShutdown
Disable reception or transmission of data
InetStoreStream
Read a stream of data from the remote host and store it in a file
InetUninitialize
Terminate use of the library by the application
InetValidateCertificate
Validate the specified security certificate is installed on the local system
InetValidateHostName
Validate the specified host name and return the resolved IP address
InetWrite
Write data to the socket
InetWriteEx
Write data to the socket, with extended functionality
InetWriteLine
Write a line of data to the socket, terminated with a carriage-return and linefeed
InetWriteStream
Write a stream of data to the socket
Copyright © 2025 Catalyst Development Corporation. All rights reserved.