V
vlyamtsev
Hello,
My question is concerned with java.net package. I used trivial
UDPClient example to send datagrams from local interface eth1 on Linux
to the ip host not included into local route table and I tried to
capture outgoing udp traffic on interface eth1. I've got IOException
"ICMP: destination unreachable" and I only could capture outgoing
packets on loopback interface ( with Ethereal). Can someone help to
resolve my confusion: I thought UDP is "connectionless", e.g. will be
sent regardless. What does ICMP have to do with it and why does this
traffic appear on loopback interface?
Thank you,
My question is concerned with java.net package. I used trivial
UDPClient example to send datagrams from local interface eth1 on Linux
to the ip host not included into local route table and I tried to
capture outgoing udp traffic on interface eth1. I've got IOException
"ICMP: destination unreachable" and I only could capture outgoing
packets on loopback interface ( with Ethereal). Can someone help to
resolve my confusion: I thought UDP is "connectionless", e.g. will be
sent regardless. What does ICMP have to do with it and why does this
traffic appear on loopback interface?
Thank you,