Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

usocket.rst

Blame
  • usocket.rst 6.94 KiB

    :mod:`usocket` -- socket module

    This module provides access to the BSD socket interface.

    See corresponding CPython module for comparison.

    Socket address format(s)

    Functions below which expect a network address, accept it in the format of (ipv4_address, port), where ipv4_address is a string with dot-notation numeric IPv4 address, e.g. "8.8.8.8", and port is integer port number in the range 1-65535. Note the domain names are not accepted as ipv4_address, they should be resolved first using socket.getaddrinfo().

    Functions

    Constants

    class socket

    Methods