s_addr_to_string


Description:

public string s_addr_to_string (string family, uint32 s_addr)

Emulate inet_ntop and pton. In python we have: | >>> socket.inet_ntop(socket.AF_INET,'1234') | '49.50.51.52' | >>> socket.inet_pton(socket.AF_INET,'49.50.51.52') | '1234' These emulation will work only with IPV4. For now this is not a problem because IPV6 is currently disabled.


Namespace: Ntk.Lib.TaskletUtils
Package: vd