This article describes the Open Transport error codes.
kOTBadAddressErr | -3150 | The specified protocol address was in an incorrect format or contained illegal information. |
kOTBadOptionErr | -3151 | The specified protocol options were in an incorrect format or contained illegal information. |
kOTAccessErr | -3152 | The user does not have permission to negotiate the specified address or options. |
kOTBadReferenceErr | -3153 | The specified EndpointRef or TEndpoint * does not refer to a valid endpoint. |
kOTNoAddressErr | -3154 | The endpoint could not allocate an address, or an address was required and not supplied by the client. |
kOTOutStateErr | -3155 | The function was issued in the wrong sequence. |
kOTBadSequenceErr | -3156 | An invalid sequence number was specified, or a NULL call pointer was specified when rejecting a connection request. |
kOTLookErr | -3158 | An asynchronous event has occurred on this endpoint. |
kOTBadDataErr | -3159 | The amount of client data specified was not within the bounds allowed by the endpoint. |
kOTBufferOverflowErr | -3160 | The number of bytes allocated to hold a result is greater than zero, but not sufficient to store the result. |
kOTFlowErr | -3161 | The endpoint is in asynchronous mode, but the flow control mechanism prevents the endpoint from accepting any data at this time. |
kOTNoDataErr | -3162 | This endpoint is in non-blocking mode, but no data is currently available. It is also returned by LookupName when no names are found. |
kOTNoDisconnectErr | -3163 | No disconnect indication is available. |
kOTNoUDErrErr | -3164 | No unit data error indication currently exists on this endpoint. |
kOTBadFlagErr | -3165 | An invalid flag was specified. |
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 a function call is made while an endpoint is in the process of changing states. The client should wait for an event indicating the endpoint has finished changing state and call the function again. Note: The equivalent state-change error code, TSTATECHNG, is not described in the 1992 X/Open XTI specification. This error is also returned if you attempt to use an "incompatible" function while another operation is still ongoing (for example: calling SndUData while an OptionManagement call is still outstanding). |
kOTStructureTypeErr | -3169 | An unsupported structure type was passed in the structType field. This error is also returned when the structType field is inconsistent with the endpoint type. |
kOTBadNameErr | -3170 | The endpoint name is invalid. |
kOTBadQLenErr | -3171 | The argument qlen when the endpoint was bound with Bind was zero. |
kOTAddressBusyErr | -3172 | The requested address is in use, or this endpoint does not support multiple connections with the same local and remote addresses. This result code indicates that a connection already exists. As a return value for a Bind call, it may also indicate that no dynamic addresses are available for protocols or configuration methods that allow dynamic addressing. |
kOTIndOutErr | -3173 | There are outstanding connection indications on the endpoint. All other connection indications must be handled either by rejecting them with SndDisconnect, or by accepting them with Accept. |
kOTProviderMismatchErr | -3174 | The endpoint that is to accept the connection is not the same kind of endpoint as this one. |
kOTResQLenErr | -3175 | When this endpoint was bound (see Bind), the qlen parameter was greater than zero. But to accept a connection on an alternate end-point, such as this one, the endpoint must be bound with a qlen parameter equal to zero. |
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 has been reached for the endpoint. |
kOTProtocolErr | -3178 | An unspecified protocol error occurred. |
kOTBadSyncErr | -3179 | A call to Sync was made at non-SystemTask time. |
kOTCanceledErr | -3180 | An outstanding call was canceled. |
kOTNoError | 0000 | The function completed execution without error. |