Free cookie consent management tool by TermsFeed

Network Programming using Python

Network Programming

Network programming is about making communication between computers. The communication can follow one-to-one, one-to-many, many-to-many, a combination of them and a cascade of these types and combinations.

The famous World Wide Web is all about web servers serving pages to clients who make requests through Internet browsers like Safari, Firefox, Chrome, Edge and others. The network communication has evolved over time along with hardware interfaces, communication standards, network protocols and applications.

Python network programming modules

Network Programming in Python means communicating between computers through sockets. Sockets are programs that act as TCP/IP end points. These end points actively send and receive data by exchanging messages. The Python Standard Library provides the socket module which has a set of functions, classes and constants to support the standard Berkley Sockets implementation. The class socket is fundamental to the socket module.

A developer can create any of these communication mechanisms using the Python’s Socket Module.

  • TCP Sockets
  • UDP Sockets
  • Raw Sockets
  • Unix Sockets

TCP sockets and UDP sockets include both client sockets and server sockets. The SocketServer module has base classes(i, e.,interfaces) and classes required for designing and implementing network services. Apart from the modules that are part of the Python Standard Library, there are popular frameworks like the Requests API that help developing applications in specific application protocols. The Requests API help developing HTTP based applications.

Here is the list of such Python network programmig modules that help developing network based applications and services.


Copyright 2025 © pythontic.com