Public static void GetSetTtl UdpClient (u)
{
//Set the Time To Live (TTL) for this client.
U.T tl=42;
Console. WriteLine (" Ttl value is {0} ",
U.T tl);
}
Set after debugging TTL set no problem, but still caught the data TTL set to 1, data across the switches is a hard, just please look at what is UDPClient class have great spirit defects?
I am using VS2010.
CodePudding user response:
Should have no relationship, and switches the udp running above the IP layer, switches are generally the second or the third floorCodePudding user response:
Switches, no special setting not forward radio (BroadCast), imagine if the switches are forward radio, a radio is not spread to the whole world?If it is MultiCast (MultiCast), MultiCast is "to 239.255.255.255 IPv4 range, and need the support of the switch (when you join a MultiCast group, switches need to register your subscription, forward to other segments of the MultiCast), some of the old type switch does not support MultiCast,
CodePudding user response: