Piotr Marcinkiewicz

Results 2 issues of Piotr Marcinkiewicz

IP address is passed from iotjs_string to uv_ipv4_address using iotjs_string_data function: https://github.com/Samsung/iotjs/blob/master/src/modules/iotjs_module_udp.c#L155 The iotjs_string doesn't contain null terminated string and iotjs_string_data just returns buffer to this unterminated string. The function...

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