Skip to content

usocket

クラス定義

socket

usocket.socket

関数

__init__

usocket.__init__()

getaddrinfo

usocket.getaddrinfo()

定数

AF_INET

usocket.AF_INET = int(2)

AF_INET6

usocket.AF_INET6 = int(10)

IPPROTO_IP

usocket.IPPROTO_IP = int(0)

IPPROTO_TCP

usocket.IPPROTO_TCP = int(6)

IPPROTO_UDP

usocket.IPPROTO_UDP = int(17)

IP_ADD_MEMBERSHIP

usocket.IP_ADD_MEMBERSHIP = int(3)

SOCK_DGRAM

usocket.SOCK_DGRAM = int(2)

SOCK_RAW

usocket.SOCK_RAW = int(3)

SOCK_STREAM

usocket.SOCK_STREAM = int(1)

SOL_SOCKET

usocket.SOL_SOCKET = int(4095)

SO_REUSEADDR

usocket.SO_REUSEADDR = int(4)

__name__

usocket.__name__ = str('usocket')