• 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
Re: Getting -3208 from OTBind
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting -3208 from OTBind


  • Subject: Re: Getting -3208 from OTBind
  • From: Steve Kalkwarf <email@hidden>
  • Date: Thu, 13 Mar 2003 09:45:20 -0500

>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.

You set err three times before looking at it. Did the call to
OpenEndpoint fail? The SetFourByteOption?

In the call to OTBind, you pass &bindRequest for both the reqAddr and
retAddr. Did you mean to do that?

Speaking of which, what is your bindRequest structure initialized to?

--
Steve Kalkwarf
<email@hidden>
_______________________________________________
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: Getting -3208 from OTBind
  • Next by Date: Re: Showing a list of open ports.
  • Previous by thread: Getting -3208 from OTBind
  • Next by thread: FW: Getting -3208 from OTBind
  • Index(es):
    • Date
    • Thread