• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FW: Getting -3208 from OTBind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Getting -3208 from OTBind


  • Subject: FW: Getting -3208 from OTBind
  • From: Mark Thomas <email@hidden>
  • Date: Thu, 13 Mar 2003 17:40:25 +0000
  • Organization: Coderus Ltd

I've found out that is returning err of OTOpenEndpointInContext is returning
-3264, which is very strange, as I don't get this on my machine 9.x machine
or 10.x

Any ideas ???

Mark.

------ Forwarded Message
From: Mark Thomas <email@hidden>
Organization: Coderus Ltd
Reply-To: email@hidden
Date: Thu, 13 Mar 2003 12:56:36 +0000
To: Macintosh Network Programming <email@hidden>
Subject: Getting -3208 from OTBind

Hi,
Sorry for all the questions, but got another one, Any body got an idea why
this code works perfectly on MacOS-X, but on MacOS 9.x, seems to fail with
-3208 ( Bad file number).


mListenerUDP = OTOpenEndpointInContext( OTCreateConfiguration(kUDPName), 0,
nil, &err, NULL);
err= SetFourByteOption(mListenerUDP, INET_IP, IP_REUSEADDR, TRUE);
err = OTBind(mListenerUDP, &bindRequest, &bindRequest );
#ifdef DEBUG_INFO
if ( err!= noErr || inAddr.fPort != cBROADCAST_PORT )
{
DebugStr("\pProblem trying to allocate HOST broadcast Listener.");
}
#endif

I'm guessing the OTOpenEndpointInContext has failed for some reason, as I
guess OTBind failed because the endpoint was bad.

Any ideas.

Thanks
Mark.

------ End of Forwarded Message
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

References: 
 >Getting -3208 from OTBind (From: Mark Thomas <email@hidden>)

  • Prev by Date: Re: Showing a list of open ports.
  • Next by Date: Re: Getting -3208 from OTBind
  • Previous by thread: Re: Getting -3208 from OTBind
  • Next by thread: Re: Getting -3208 from OTBind
  • Index(es):
    • Date
    • Thread