Result code | Value | Meaning |
kOTNoError | 0 | The function completed execution without error. |
kOTBadAddressErr | -3150 | The specified protocol address was in an incorrect format or contained illegal information. For TCP/IP this means that the address does not exist in the specified domain. |
kOTBadOptionErr | -3151 | The specified protocol options were in an incorrect format or contained illegal information. |
kOTAccessErr | -3152 | You do not have permission to negotiate the specified address or options. |
kOTBadReferenceErr | -3153 | The specified provider reference does not refer to a valid provider. |
kOTNoAddressErr | -3154 | You failed to supply an address, or the endpoint could not allocate an address. |
kOTOutStateErr | -3155 | The endpoint was not in an appropriate state when you called this function. |
kOTBadSequenceErr | -3156 | You specified an invalid sequence number or a NULL pointer for the call parameter when rejecting a connection request. |
kOTLookErr | -3158 | An asynchronous event has occurred. If the event has occurred for an endpoint, you can use the OTLook function to find out what event it was; your notifier function will also get an asynchronous event. If the event has occurred for a provider other than an endpoint, the notifier function installed for that provider must handle the asynchronous event. |
kOTBadDataErr | -3159 | The amount of data you specified was not within the bounds allowed by the endpoint. |
kOTBufferOverflowErr | -3160 | The buffer you allocated to store information when this function returns is not sufficiently large to store the incoming data. |
kOTFlowErr | -3161 | The endpoint is in asynchronous mode, but the flow-control mechanism prevents the endpoint from accepting or sending any data at this time. |
kOTNoDataErr | -3162 | For an endpoint or mapper, this result is returned when you try to read data but the endpoint is in asynchronous, or is in nonblocking mode, and no data is currently available. For a mapper, this result is returned by the OTLookupName function when no names are found. |
kOTNoDisconnectErr | -3163 | No disconnection indication is available. |
kOTNoUDErrErr | -3164 | No unit data error indication currently exists on this endpoint. |
kOTBadFlagErr | -3165 | You specified an invalid flag value. |
kOTNoReleaseErr | -3166 | No orderly release indication currently exists on this endpoint. |
kOTNotSupportedErr | -3167 | This action is not supported by this endpoint. |
kOTStateChangeErr | -3168 | The endpoint is undergoing a transient state change. This error is returned when you call a function while an endpoint is in the process of changing states. You should wait for an event indicating the endpoint has finished changing state and call the function again. (Note that the equivalent XTI state-change error code, TSTATECHNG , is not described in the 1992 X/Open XTI specification.) The provider also returns this error if you attempt to call an "incompatible" function while another operation is still ongoing; for example if you call the function OTSndUData while a call to the OTOptionManagement function is still outstanding. |
kOTStructureTypeErr | -3169 | You specified an unsupported structure type for the structType parameter of the OTAlloc or OTFree function. This error is also returned when the structType structure you specify is inconsistent with the endpoint type. |
kOTBadNameErr | -3170 | You specified an invalid endpoint name. This error is returned by the TCP/IP domain name resolver (DNR) if you specify a bad host name. |
kOTBadQLenErr | -3171 | You are using this endpoint to listen for connection requests, but when you bound the endpoint, you specified 0 for the qlen field. If you want to use an endpoint to listen for connection requests, the value of the qlen field must be greater than 0. |
kOTAddressBusyErr | -3172 | As a return value for a call to the OTBind function, this error code indicates one of the following conditions: 1) no dynamic addresses are available for protocols or configuration methods that allow dynamic addressing, 2) you are attempting to bind two connectionless endpoints to the same address, or 3) you are attempting to bind two connection-oriented endpoints to the same address and with a qlen field greater than 0. |
kOTIndOutErr | -3173 | There are outstanding connection indications on the endpoint, and you are accepting a connection on this endpoint. When accepting a connection on an endpoint that is listening for connection requests, you must have responded to all outstanding requests either by rejecting them with the OTSndDisconnect function or by accepting them with the OTAccept function. |
kOTProviderMismatchErr | -3174 | The endpoint that is to accept the connection is not the same kind of endpoint as the endpoint listening for the connection. The listening and accepting endpoints must be the same kind. |
kOTResQLenErr | -3175 | When this endpoint was bound, the qlen field was set to a value greater than 0. But to accept a connection on an alternate endpoint that is bound to the same address, such as this one, the endpoint must be bound with a qlen parameter equal to 0. |
kOTResAddressErr | -3176 | The address to which this endpoint is bound differs from that of the endpoint that received the connection request; thus, this endpoint cannot accept this connection request. |
kOTQFullErr | -3177 | The maximum number of outstanding indications, as specified by the value of the qlen field you used when you bound the endpoint, has been reached for the endpoint. |
kOTProtocolErr | -3178 | An unspecified protocol error occurred. This is usually fatal. Normal recovery is to close the provider. |
kOTBadSyncErr | -3179 | You attempted a synchronous call at hardware or deferred task level, or you made an Open Transport call at hardware interrupt time. Note that Open Transport cannot always detect this condition, so you cannot rely on getting this error. If undetected, your system could crash. |
kOTCanceledErr | -3180 | A provider function never finished executing because the provider was closed or because the function was synchronous and synchronous functions were cancelled. |
kOTNotFoundErr kENOENTErr | -3201 | Requested information does not exist. This error literally means no such file or directory. In XTI (and Open Transport), a function returns this result when you try to open an endpoint or mapper that does not exist in the system, or to operate on any other entity that was not found. |
kENIOErr | -3204 | An I/O error occurred. |
kENXIOErr | -3205 | No such device or address. |
kEBADFErr | -3208 | The provider reference or stream reference supplied to the function was not valid. |
kEAGAINErr -3210 | A provider is in non-blocking mode and cannot perform this operation now; Open Transport would have to block to complete the request. Try again later. |
kENOMEMErr kOTOutOfMemoryErr | -3211 | Open Transport cannot allocate enough memory to meet your request. Open Transport has run out of internal memory. This might happen, for example, if you are doing a lot of asynchronous sends and not acknowledging sends, which means that Open Transport has to copy the data being sent into its own internal buffers. |
kEBUSYErr | -3215 | The device you are trying to access is busy and could not complete your request. |
kOTDuplicateFoundErr -3216 | You are attempting to register a port or other entity that already exists. |
kEINVALErr | -3221 | You attempted an invalid operation, or you passed an invalid parameter. |
kEDEADLKErr | -3234 | In order to complete the requested operation, the endpoint provider would have to block, and the endpoint is in nonblocking mode. |
kEADDRINUSEErr | -3247 | The address is in use and is not available for the current function. |
kEADDRNOTAVAILErr | -3248 | The address is not available or the requested address is not appropriate for the current function because the function requires a multicast address. |
kENETDOWNErr | -3249 | TCP/IP error. The path to a network number is currently unavailable. |
kENETUNREACHErr | -3250 | TCP/IP error. The path to a network number does not exist. |
kENETRESETErr | -3251 | Unknown. |
kECONNABORTEDErr | -3252 | Unknown. |
kECONNRESETErr | -3253 | The connection was reset, possibly due to a problem with security and authentication. |
kENOBUFSErr | -3254 | The operation failed because no buffer space was available. |
kEISCONNErr | -3255 | Reserved. |
kENOTCONNErr | -3256 | Reserved. |
kESHUTDOWNErr | -3257 | An operation was aborted because the machine is shutting down. This error code is also used by sockets. |
kETOOMANYREFSErr | -3258 | Unused error code. |
kETIMEDOUTErr | -3259 | The requested operation timed out. |
kECONNREFUSEDErr | -3260 | TCP/IP error code. The port is unreachable (as opposed to the host being unreachable). The positive version of this error code (kECONNREFUSED ) is returned by Open Transport as a reason code in a disconnect message, indicating that the other side refused the connection. |
kEHOSTDOWNErr | -3263 | TCP/IP error. A host address is currently unavailable. |
kEHOSTUNREACHErr | -3264 | TCP/IP error. A host address cannot be reached. |
kEPROTOErr | -3269 | A catastrophic error has occurred which probably renders the underlying stream unusable. This error is the same as the kTPROTOErr , but is used where an XTI error code is not appropriate. |
kETIMEErr | -3270 | An Ioctl command has timed out instead of completing normally. |
kENOSRErr | -3271 | Open Transport cannot allocate enough system resources (usually stream messages) to meet your request. |
kOTClientNotInittedErr | -3279 | The client has not called the InitOpenTransport function or the InitOpenTransportUtilities function. |
kOTPortHasDiedErr | -3280 | Your notifier is sent the event kOTProviderIsClosed and returns this result code if a port that your provider is using is disabled because it was unregistered. |
kOTPortWasEjectedErr | -3281 | Your notifier is sent the event kOTProviderIsClosed and returns this result code if a port |
kOTBadConfigurationErr | -3282 | Open Transport is attempting to bring up the TCP/IP stack but can't because it's improperly configured in the TCP/IP control panel. |
kOTConfigurationChangedErr | -3283 | This is an event code that's sent to the client's notifier (the one you register with the OTRegisterAsClient function) when various AppleTalk-related things (like the current zone) change. |
kOTUserRequestedErr | -3284 | Your notifier is sent the event kOTProviderIsClosed and returns this result code if a port that your provider is using is disabled because the user switched |
kOTPortLostConnection | -3285 | Your notifier is sent the event kOTProviderIsClosed and returns this result code if a port that your provider is using is disabled because it lost the |
|
|