Re: UDP datagrams - Possible to check for broadcast ?



In this case
the first is not type but sin_family and 2 mean not Type ( low endian ) but
AF_INET ( /* internetwork: UDP, TCP, etc. */ pasted from winsock2.h ) , but
anycase this IP address is not broadcast because have to be FF ( 255 ) and
not 0F
Arkady

"R.Wieser" <address@xxxxxxxxxxxxx> wrote in message
news:emWZNbC9FHA.3804@xxxxxxxxxxxxxxxxxxxxxxx
> Arkady Frenkel <arkadyf@xxxxxxxxxxxxxxxx> schreef in berichtnieuws
> eP6TLEB9FHA.1292@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hello Arkady,
>
>> Vadim meant to check nibbles in sin_addr struct member of sockaddr struct
>> Arkady
>
> That is what I did : 0F01A8C0 is the content of the sin_addr -field of the
> remote-sockets SockAddr record. 0F is the low byte of the senders IP.
>
> Am I missing something here ?
>
> Regards,
> Rudy Wieser
>
>
>


.


Loading