summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-07-15 00:05:49 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-07-15 00:06:03 +0300
commitc48740e20b5bfee6cfee271f67f8e99e9df102d7 (patch)
treeae0a4e12772309e2d9deb7da3f8b09c68bb1f229 /py
parentb178dccb9cf1f08f4bd55a82f96b597a5e6afc18 (diff)
downloadmicropython-c48740e20b5bfee6cfee271f67f8e99e9df102d7.tar.gz
micropython-c48740e20b5bfee6cfee271f67f8e99e9df102d7.zip
unix: modsocket: Implement inet_pton() in preference of inet_aton().
inet_pton supports both ipv4 and ipv6 addresses. Interface is also extensible for other address families, but underlying libc inet_pton() function isn't really extensible (e.g., it doesn't return length of binary address, i.e. it's really hardcoded to AF_INET and AF_INET6). But anyway, on Python side, we could extend it to support other addresses.
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions