Make the cut 4 1 0 serial port

broken image
broken image
broken image

create_connection (( 'localhost', 10000 )) print > sys.

broken image

startswith ( prefix ) ) families = get_constants ( 'AF_' ) types = get_constants ( 'SOCK_' ) protocols = get_constants ( 'IPPROTO_' ) # Create a TCP/IP socket sock = socket. Import socket import sys def get_constants ( prefix ): '''Create a dictionary mapping socket module constants to their names.''' return dict ( ( getattr ( socket, n ), n ) for n in dir ( socket ) if n.