March 2019
Beginner
490 pages
12h 40m
English
To create a socket, the socket.socket() constructor is used, which can take the family, type, and protocol as optional parameters. By default, the AF_INET family and the SOCK_STREAM type are used.
The general syntax is socket.socket(socket_family, socket_type, protocol=0), where the parameters are as follows:
Read now
Unlock full access