• 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: UDP Broadcast self send
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP Broadcast self send


  • Subject: Re: UDP Broadcast self send
  • From: Eli Green <email@hidden>
  • Date: Thu, 11 Sep 2003 14:43:24 -0400

> Hmm,
> one more of these reasons why I never digged down the ISO Networking
> Pyramid.. (Yes, the 256 was to avoid trouble in case of ..)
>
> Afai-know it behaved correct to me.
> While the machine can resolve the 127 Address before the Ethernet
> interface (it does not get down to the wires at all); The machine has to
> try to send on the 255 Address, which will fail if there is no cable in
> the ethernet port, which results in a no send cause of missing wires to
> go.
>
> I dont remember off my haed if it worked then, but what I remember is
> that in my App which UDP B'casts also the sendto() failed if the stated
> IP in the sockaddr was invalid (also the 255 which bounced at the
> ethernet port with no wire in it).
> I assumed that it does not work cause the port or mach itself was
> intelligent enough to fail if there is /no/ other IP device on the cable
> or no cable at all. Even if you could go and say that a B'cast has no
> transaction completition in any way - but that does not cut off errs
> before the wires.
>
> rgds, Hado
>
> Anyhow, with BSD finally I was able to write all the stuff I still don't
> get in OT...

I have no idea what I've done, but it appears to be working now. The problem
I'm having now is trying to run the app in MacOS 9 gives me an error when I
try to create an endpoint.

After this line:

bcast = OTOpenEndpointInContext(otcfg, 0, &bcast_info, &err, otcxt);

err is set to -3201, which is either kENOENTErr (No such file or directory -
unlikely) or kOTNotFoundErr (OT generic not found error); neither of these
help me very much. Has anybody seen this before? I was able to create an
Endpoint for listening to the right port, so I don't understand why it would
fail the second time. Do I need to clone my configuration every time, or can
I keep using the same one?
_______________________________________________
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: 
 >Re: UDP Broadcast self send (From: email@hidden (Hado Hein))

  • Prev by Date: RE: Understanding MoreSecurity and MoreAuthSample
  • Next by Date: Re: UDP Broadcast self send
  • Previous by thread: Re: UDP Broadcast self send
  • Next by thread: Re: UDP Broadcast self send
  • Index(es):
    • Date
    • Thread