Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Networking > Carbon >

Open Transport Error -3208: kEBADFErr


Q: When I make an OTSnd call, the return result is kEBADFErr, -3208, which the header defines as a bad file number error. What could be meant by this call?

A: The kEBADFErr is returned to indicate that the OTProviderRef parameter which you passed in is not a valid OTProviderRef. This error is also returned if the OTProviderRef is NULL, or it is not long word aligned (not a multiple of 4). Check your code to see whether your call to OTOpenEndpoint is correctly checking for errors.

[Mar 04 1996]