This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Problem while setting TTL using setsockopt()]


Hi,

While setting TTL value in UDP socket using setsockopt(), I am seeing
different behavior in glibc-2.5-34 and glibc-2.12-1.47.el6 on Linux

in 2.5 if I set the SOL_IP, IP_TTL value to 0 it sets TTL to 64
however in 2.12-1.47 it sets it to 0. Just to confirm is it the
correct behavior? Did some code changes done between these two release
for the same change in behavior.

Thanks! a lot in advance.

Best Regards,
Nitin Padalia


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]