Re: UDP Broadcast self send
Re: UDP Broadcast self send
- Subject: Re: UDP Broadcast self send
- From: email@hidden (Hado Hein)
- Date: Thu, 11 Sep 2003 14:48:04 +0200
- Organization: handmade !
>
On Wednesday, September 10, 2003, at 08:04 AM, Eli Green wrote:
>
>
>> Well, I'm surely no expert, but receiving packets you sent _is_ a
>
>> failure in your IP stack, definitely, always. (Unless you send to
>
>> 127.0.0.1 / 255.255.255.255)
>
>>
>
>
This is exactly what he's doing-
>
>
Eli- you're not going crazy-
>
I was seeing the same thing about a year ago..
[Details]
>
>
my hunch is, for whatever reason (probably OT->Mach migration)
>
this default was turned off on OS-X.
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...
--
Hado Hein, Berlin, Fed.Rep. of Germany
Have a chat ? AIM: chat2hado
http://HadoH.bei.t-online.de (stage lighting profession)
http://www.batchmaker.de (software authoring, including stage lighting)
_______________________________________________
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.