Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • what is the socket Module in python

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 459
    Comment on it

    In python socket Module create socket and also use the function name socket.socket() function. This function is also available in socket module. There are many type of socket method in python like- Server Socket Methods and Client Socket Methods etc.
    Basic syntax of socket module:

    s = socket.socket (socket_family, socket_type, protocol=0)
    

    here is a parameters of socket module:
    1- socket_family: socket_family is either AF_UNIX or AF_INET, as explained earlier.
    2- socket_type: socket_type is either SOCK_STREAM or SOCK_DGRAM.
    3- protocol: protocol is usually left out, defaulting to 0.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: