Hi
UDP client server with Internet domain socket is unreliable when client
and server run of different workstation.What if client server run on the
same workstation. any comments/explaination which gives the
reliability/unreliable for packet missing
Understanding from few examples ; when client send a udp packet through
sendto() to server ( with same client workstation IP as the sending ip ) ,
the packet doesnot go through different layers down to ethernet/NIC .
Correct me if I am wrong here.
I tried making a udp client and traced the packet through snoop command and
found out that
1) when to IP is same as hoste ip no packet is made . ( no output of
packet in snoop)
2) when to IP is different as hoste ip packet is made and snoop shows
the packet.
Any comments will be appreciated..
Thanks
Socket used : sockadd_in and AF_INET
|