"""
Module: 'socket' on LoPy4 v1.11
"""
# MCU: (sysname='LoPy4', nodename='LoPy4', release='1.20.2.rc7', version='v1.11-6d01270 on 2020-05-04', machine='LoPy4 with ESP32', lorawan='1.0.2', sigfox='1.0.1', pybytes='1.4.0')
# Stubber: 1.3.2
AF_INET = 2
AF_LORA = 160
AF_SIGFOX = 161
IPPROTO_ICMP = 1
IPPROTO_IP = 0
IPPROTO_IPV6 = 41
IPPROTO_RAW = 255
IPPROTO_TCP = 6
IPPROTO_UDP = 17
IP_ADD_MEMBERSHIP = 3
SOCK_DGRAM = 2
SOCK_RAW = 3
SOCK_STREAM = 1
SOL_LORA = 1048325
SOL_SIGFOX = 1048326
SOL_SOCKET = 4095
SO_BIT = 983047
SO_CONFIRMED = 983042
SO_DR = 983043
SO_OOB = 983046
SO_REUSEADDR = 4
SO_RX = 983044
SO_TX_REPEAT = 983045
def dnsserver():
    pass


class error:
    ''
def getaddrinfo():
    pass


class socket:
    ''
    def accept():
        pass

    def bind():
        pass

    def close():
        pass

    def connect():
        pass

    def do_handshake():
        pass

    def fileno():
        pass

    def listen():
        pass

    def makefile():
        pass

    def read():
        pass

    def readinto():
        pass

    def readline():
        pass

    def recv():
        pass

    def recvfrom():
        pass

    def send():
        pass

    def sendall():
        pass

    def sendto():
        pass

    def setblocking():
        pass

    def setsockopt():
        pass

    def settimeout():
        pass

    def write():
        pass


class timeout:
    ''
