libtuv icon indicating copy to clipboard operation
libtuv copied to clipboard

uv_udp_set_ttl not supported for TizenRT

Open pmarcinkiew opened this issue 8 years ago • 2 comments

TTL support is almost working for TizenRT but flag IPV6_UNICAST_HOPS is missing:

https://github.com/Samsung/libtuv/blob/master/src/unix/udp.c#L811

This issue prevents successful configuration of TTL in IoT.js for two tests.

test_dgram_setttl_client.js:

https://github.com/Samsung/iotjs/blob/master/test/run_pass/test_dgram_setttl_client.js#L36

test_dgram_setttl_server.js

https://github.com/Samsung/iotjs/blob/master/test/run_pass/test_dgram_setttl_server.js#L45

pmarcinkiew avatar Aug 30 '17 14:08 pmarcinkiew

@pmarcinkiew I think uv_udp_set_ttl and uv_udp_get_ttl will work for IPv4 on TizenRT, and we need to support it.

glistening avatar Aug 31 '17 07:08 glistening

See: https://github.com/Samsung/libtuv/pull/92

pmarcinkiew avatar Sep 04 '17 16:09 pmarcinkiew