SocketTools Control Error Codes  
 
Value Constant Description
10001 stErrorNotHandleOwner Handle not owned by the current thread
10002 stErrorFileNotFound The specified file or directory does not exist
10003 stErrorFileNotCreated The specified file could not be created
10004 stErrorOperationCanceled The blocking operation has been canceled
10005 stErrorInvalidFileType The specified file is a block or character device, not a regular file
10006 stErrorInvalidDevice The specified device or address does not exist
10007 stErrorTooManyParameters The maximum number of function parameters has been exceeded
10008 stErrorInvalidFileName The specified file name contains invalid characters or is too long
10009 stErrorInvalidFileHandle Invalid file handle passed to function
10010 stErrorFileReadFailed Unable to read data from the specified file
10011 stErrorFileWriteFailed Unable to write data to the specified file
10012 stErrorOutOfMemory Out of memory
10013 stErrorAccessDenied Access denied
10014 stErrorInvalidParameter Invalid argument passed to function
10015 stErrorClipboardUnavailable The system clipboard is currently unavailable
10016 stErrorClipboardEmpty The system clipboard is empty or does not contain any text data
10017 stErrorFileEmpty The specified file does not contain any data
10018 stErrorFileExists The specified file already exists
10019 stErrorEndOfFile End of file
10020 stErrorDeviceNotFound The specified device could not be found
10021 stErrorDirectoryNotFound The specified directory could not be found
10022 stErrorInvalidBuffer Invalid memory address passed to function
10024 stErrorNoHandles No more handles available to this process
10035 stErrorOperationWouldBlock The specified operation would block the current thread
10036 stErrorOperationInProgress A blocking operation is currently in progress
10037 stErrorAlreadyInProgress The specified operation is already in progress
10038 stErrorInvalidHandle Invalid handle passed to function
10039 stErrorInvalidAddress Invalid network address specified
10040 stErrorInvalidSize Datagram is too large to fit in specified buffer
10041 stErrorInvalidProtocol Invalid network protocol specified
10042 stErrorProtocolNotAvailable The specified network protocol is not available
10043 stErrorProtocolNotSupported The specified protocol is not supported
10044 stErrorSocketNotSupported The specified socket type is not supported
10045 stErrorInvalidOption The specified option is invalid
10046 stErrorProtocolFamily The specified protocol family is not supported
10047 stErrorProtocolAddress The specified address is invalid for this protocol family
10048 stErrorAddressInUse The specified address is in use by another process
10049 stErrorAddressUnavailable The specified address cannot be assigned
10050 stErrorNetworkUnavailable The networking subsystem is unavailable
10051 stErrorNetworkUnreachable The specified network is unreachable
10052 stErrorNetworkReset Network dropped connection on reset
10053 stErrorConnectionAborted Connection was aborted due to timeout or other failure
10054 stErrorConnectionReset Connection was reset by remote network
10055 stErrorOutOfBuffers No buffer space is available
10056 stErrorAlreadyConnected Connection already established with remote host
10057 stErrorNotConnected No connection established with remote host
10058 stErrorConnectionShutdown Unable to send or receive data after connection shutdown
10060 stErrorOperationTimeout The specified operation has timed out
10061 stErrorConnectionRefused The connection has been refused by the remote host
10064 stErrorHostUnavailable The specified host is unavailable
10065 stErrorHostUnreachable The specified host is unreachable
10067 stErrorTooManyProcesses Too many processes are using the networking subsystem
10069 stErrorTooManyThreads Too many threads have been created by the current process
10070 stErrorTooManySessions Too many client sessions have been created by the current process
10082 stErrorInternalFailure An unexpected internal error has occurred
10091 stErrorNetworkNotReady Network subsystem is not ready for communication
10092 stErrorInvalidVersion This version of the operating system is not supported
10093 stErrorNetworkNotInitialized The networking subsystem has not been initialized
10101 stErrorRemoteShutdown The remote host has initiated a graceful shutdown sequence
11001 stErrorInvalidHostName The specified hostname is invalid or could not be resolved
11002 stErrorHostNameNotFound The specified hostname could not be found
11003 stErrorHostNameRefused Unable to resolve hostname, request refused
11004 stErrorHostNameNotResolved Unable to resolve hostname, no address for specified host
12001 stErrorInvalidLicense The license for this product is invalid
12002 stErrorProductNotLicensed This product is not licensed to perform this operation
12003 stErrorNotImplemented This function has not been implemented on this platform
12004 stErrorUnknownLocalHost Unable to determine local host name
12005 stErrorInvalidHostAddress Invalid host address specified
12006 stErrorInvalidServicePort Invalid service port number specified
12007 stErrorInvalidServiceName Invalid or unknown service name specified
12008 stErrorInvalidEventId Invalid event identifier specified
12009 stErrorOperationNotBlocking No blocking operation in progress on this socket
12101 stErrorSecurityNotInitialized Unable to initialize security interface for this process
12102 stErrorSecurityContext Unable to establish security context for this session
12103 stErrorSecurityCredentials Unable to open client certificate store or establish client credentials
12104 stErrorSecurityCertificate Unable to validate the certificate chain for this session
12105 stErrorSecurityDecryption Unable to decrypt data stream
12106 stErrorSecurityEncryption Unable to encrypt data stream
12201 stErrorOperationNotSupported The specified operation is not supported
12202 stErrorInvalidProtocolVersion Invalid application protocol version specified
12203 stErrorNoServerResponse No data returned from server
12204 stErrorInvalidServerResponse Invalid data returned from server
12205 stErrorUnexpectedServerResponse Unexpected response code returned from server
12206 stErrorServerTransactionFailed Server transaction failed
12207 stErrorServiceUnavailable The service is currently unavailable
12208 stErrorServiceNotReady The service is not ready, try again later
12209 stErrorServerResyncFailed Unable to resynchronize with server
12210 stErrorInvalidProxyType Invalid proxy server type specified
12211 stErrorProxyRequired Resource must be accessed through specified proxy
12212 stErrorInvalidProxyLogin Unable to login to proxy server using specified credentials
12213 stErrorProxyResyncFailed Unable to resynchronize with proxy server
12214 stErrorInvalidCommand Invalid command specified
12215 stErrorInvalidCommandParameter Invalid command parameter specified
12216 stErrorInvalidCommandSequence Invalid command sequence specified
12217 stErrorCommandNotImplemented Specified command not implemented on this server
12218 stErrorCommandNotAuthorized Specified command not authorized for the current user
12219 stErrorCommandAborted Specified command was aborted by the remote host
12220 stErrorOptionNotSupported The specified option is not supported on this server
12221 stErrorRequestNotCompleted The current client request has not been completed
12222 stErrorInvalidUsername The specified username is invalid
12223 stErrorInvalidPassword The specified password is invalid
12224 stErrorInvalidAccount The specified account name is invalid
12225 stErrorAccountRequired Account name has not been specified
12226 stErrorInvalidAuthenticationType Invalid authentication protocol specified
12227 stErrorAuthenticationRequired User authentication is required
12228 stErrorProxyAuthenticationRequired Proxy authentication required
12229 stErrorAlreadyAuthenticated User has already been authenticated
12230 stErrorAuthenticationFailed Unable to authenticate the specified user
12251 stErrorNetworkAdapter Unable to determine network adapter configuration
12252 stErrorInvalidRecordType Invalid record type specified
12253 stErrorInvalidRecordName Invalid record name specified
12254 stErrorInvalidRecordData Invalid record data specified
12255 stErrorConnectionOpen Data connection already established
12256 stErrorConnectionClosed Server closed data connection
12257 stErrorConnectionPassive Data connection is passive
12258 stErrorConnectionFailed Unable to open data connection to server
12259 stErrorInvalidSecurityLevel Data connection cannot be opened with this security setting
12260 stErrorCachedTlsRequired Data connection requires cached TLS session
12261 stErrorDataReadOnly Data connection is read-only
12262 stErrorDataWriteOnly Data connection is write-only
12263 stErrorEndOfData End of data
12264 stErrorRemoteFileUnavailable Remote file is unavailable
12265 stErrorInsufficientStorage Insufficient storage on server
12266 stErrorStorageAllocation File exceeded storage allocation on server
12267 stErrorDirectoryExists The specified directory already exists
12268 stErrorDirectoryEmpty No files returned by the server for the specified directory
12269 stErrorEndOfDirectory End of directory listing
12270 stErrorUnknownDirectoryFormat Unknown directory format
12271 stErrorInvalidResource Invalid resource name specified
12272 stErrorResourceRedirected The specified resource has been redirected
12273 stErrorResourceRestricted Access to this resource has been restricted
12274 stErrorResourceNotModified The specified resource has not been modified
12275 stErrorResourceNotFound The specified resource cannot be found
12276 stErrorResourceConflict Request could not be completed due to the current state of the resource
12277 stErrorResourceRemoved The specified resource has been permanently removed from this server
12278 stErrorContentLengthRequired Request must include the content length
12279 stErrorRequestPrecondition Request could not be completed due to server precondition
12280 stErrorUnsupportedMediaType Request specified an unsupported media type
12281 stErrorInvalidContentRange Content range specified for this resource is invalid
12282 stErrorInvalidMessagePart Message is not multipart or an invalid message part was specified
12283 stErrorInvalidMessageHeader The specified message header is invalid or has not been defined
12284 stErrorInvalidMessageBoundary The multipart message boundary has not been defined
12285 stErrorNoFileAttachment The current message part does not contain a file attachment
12286 stErrorUnknownFileType The specified file type could not be determined
12287 stErrorDataNotEncoded The specified data block could not be encoded
12288 stErrorDataNotDecoded The specified data block could not be decoded
12289 stErrorFileNotEncoded The specified file could not be encoded
12290 stErrorFileNotDecoded The specified file could not be decoded
12291 stErrorNoMessageText No message text
12292 stErrorInvalidCharacterSet Invalid character set specified
12293 stErrorInvalidEncodingType Invalid encoding type specified
12294 stErrorInvalidMessageNumber Invalid message number specified
12295 stErrorNoReturnAddress No valid return address specified
12296 stErrorNoValidRecipients No valid recipients specified
12297 stErrorInvalidRecipient The specified recipient address is invalid
12298 stErrorRelayNotAuthorized The specified domain is invalid or server will not relay messages
12299 stErrorMailboxUnavailable Specified mailbox is currently unavailable
12300 stErrorMailboxReadonly The selected mailbox cannot be modified
12301 stErrorMailboxNotSelected No mailbox has been selected
12302 stErrorInvalidMailbox Specified mailbox is invalid
12303 stErrorInvalidDomain The specified domain name is invalid or not recognized
12304 stErrorInvalidSender The specified sender address is invalid or not recognized
12305 stErrorMessageNotDelivered Message not delivered to any of the specified recipients
12306 stErrorEndOfMessageData No more message data available to be read
12307 stErrorInvalidMessageSize The specified message size is invalid
12308 stErrorMessageNotCreated The message could not be created in the specified mailbox
12309 stErrorNoMoreMailboxes No more mailboxes exist on this server
12310 stErrorInvalidEmulationType The specified terminal emulation type is invalid
12311 stErrorInvalidFontHandle The specified font handle is invalid
12312 stErrorInvalidFontName The specified font name is invalid or unavailable
12313 stErrorInvalidPacketSize The specified packet size is invalid
12314 stErrorInvalidPacketData The specified packet data is invalid
12315 stErrorInvalidPacketId The unique packet identifier is invalid
12316 stErrorPacketTtlExpired The specified packet time-to-live period has expired
12317 stErrorInvalidNewsgroup Invalid newsgroup specified
12318 stErrorNoNewsgroupSelected No newsgroup selected
12319 stErrorEmptyNewsgroup No articles in specified newsgroup
12320 stErrorInvalidArticle Invalid article number specified
12321 stErrorNoArticleSelected No article selected in the current newsgroup
12322 stErrorFirstArticle First article in current newsgroup
12323 stErrorLastArticle Last article in current newsgroup
12324 stErrorArticleExists Unable to transfer article, article already exists
12325 stErrorArticleRejected Unable to transfer article, article rejected
12326 stErrorArticleTransferFailed Article transfer failed
12327 stErrorArticlePostingDenied Posting is not permitted on this server
12328 stErrorArticlePostingFailed Posting is not permitted on this server
12329 stErrorInvalidDateFormat The specified date format is not recognized
12330 stErrorFeatureNotSupported The specified feature is not supported on this server
12331 stErrorInvalidFormHandle The specified form handle is invalid or a form has not been created
12332 stErrorInvalidFormAction The specified form action is invalid or has not been specified
12333 stErrorInvalidFormMethod The specified form method is invalid or not supported
12334 stErrorInvalidFormType The specified form type is invalid or not supported
12335 stErrorInvalidFormField The specified form field name is invalid or does not exist
12336 stErrorEmptyForm The specified form does not contain any field values
12337 stErrorMaximumConnections The maximum number of client connections exceeded
12338 stErrorThreadCreationFailed Unable to create a new thread for the current process
12339 stErrorInvalidThreadHandle The specified thread handle is no longer valid
12340 stErrorThreadTerminated The specified thread has been terminated
12341 stErrorThreadDeadlock The operation would result in the current thread becoming deadlocked
12342 stErrorInvalidClientMoniker The specified moniker is not associated with any client session
12343 stErrorClientMonikerExists The specified moniker has been assigned to another client session
12344 stErrorServerInactive The specified server is not listening for client connections
12345 stErrorServerSuspended The specified server is suspended and not accepting client connections
12346 stErrorNoMessageStore No message store has been specified
12347 stErrorMessageStoreChanged The message store has changed since it was last accessed
12348 stErrorMessageNotFound No message was found that matches the specified criteria
12349 stErrorMessageDeleted The specified message has been deleted
12350 stErrorFileChecksumMismatch The local and remote file checksums do not match
12351 stErrorFileSizeMismatch The local and remote file sizes do not match
12352 stErrorInvalidFeedUrl The news feed URL is invalid or specifies an unsupported protocol
12353 stErrorInvalidFeedFormat The internal format of the news feed is invalid
12354 stErrorInvalidFeedVersion This version of the news feed is not supported
12355 stErrorChannelEmpty There are no valid items found in this news feed
12356 stErrorInvalidItemNumber The specified channel item identifier is invalid
12357 stErrorItemNotFound The specified channel item could not be found
12358 stErrorItemEmpty The specified channel item does not contain any data
12359 stErrorInvalidItemProperty The specified item property name is invalid
12360 stErrorItemPropertyNotFound The specified item property has not been defined
12361 stErrorInvalidChannelTitle The channel title is invalid or has not been defined
12362 stErrorInvalidChannelLink The channel hyperlink is invalid or has not been defined
12363 stErrorInvalidChannelDescription The channel description is invalid or has not been defined
12364 stErrorInvalidItemText The description for an item is invalid or has not been defined
12365 stErrorInvalidItemLink The hyperlink for an item is invalid or has not been defined
12366 stErrorInvalidServiceType The specified service type is invalid
12367 stErrorServiceSupended Access to the specified service has been suspended
12368 stErrorServiceRestricted Access to the specified service has been restricted
12369 stErrorInvalidProviderName The specified provider name is invalid or unknown
12370 stErrorInvalidPhoneNumber The specified phone number is invalid or not supported in this region
12371 stErrorGatewayNotFound A message gateway cannot be found for the specified provider
12372 stErrorMessageTooLong The message exceeds the maximum number of characters permitted
12373 stErrorInvalidProviderData The request returned invalid or incomplete service provider data
12374 stErrorInvalidGatewayData The request returned invalid or incomplete message gateway data
12375 stErrorMultipleProviders The request has returned multiple service providers
12376 stErrorProviderNotFound The specified service provider could not be found
12377 stErrorInvalidMessageService The specified message is not supported with this service type
12378 stErrorInvalidMessageFormat The specified message format is invalid
12379 stErrorInvalidConfiguration The specified configuration options are invalid
12380 stErrorServerActive The requested action is not permitted while the server is active
12381 stErrorServerPortBound Unable to obtain exclusive use of the specified local port
12382 stErrorInvalidClientSession The specified client identifier is invalid for this session
12383 stErrorClientNotIdentified The specified client has not provided user credentials
12384 stErrorInvalidClientState The requested action cannot be performed at this time
12385 stErrorInvalidResultCode The specified result code is not valid for this protocol
12386 stErrorCommandRequired The specified command is required and cannot be disabled
12387 stErrorCommandDisabled The specified command has been disabled
12388 stErrorCommandSequence The command cannot be processed at this time
12389 stErrorCommandCompleted The previous command has completed
12390 stErrorInvalidProgramName The specified program name is invalid or unrecognized
12391 stErrorInvalidRequestHeader The request header contains one or more invalid values
12392 stErrorInvalidVirtualHost The specified virtual host name is invalid
12393 stErrorVirtualHostNotFound The specified virtual host does not exist
12394 stErrorTooManyVirtualHosts Too many virtual hosts created for this server
12395 stErrorInvalidVirtualPath The specified virtual path name is invalid
12396 stErrorVirtualPathNotFound The specified virtual path does not exist
12397 stErrorTooManyVirtualPaths Too many virtual paths created for this server
12398 stErrorInvalidTask The asynchronous task identifier is invalid
12399 stErrorTaskFinished The asynchronous task has not finished
12400 stErrorTaskQueued The asynchronous task has been queued
12401 stErrorTaskSuspended The asynchronous task has been suspended
12402 stErrorTaskFinished The asynchronous task has finished