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]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.