Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Socket Programming in Python | Socket Programming Course
Rating: 3.7 out of 5(95 ratings)
9,280 students

Socket Programming in Python | Socket Programming Course

Learn the basics of Basics of Networking and Sockets in python
Last updated 5/2020
English
English [Auto],

What you'll learn

  • Learn to Use Sockets in Python
  • Basics of Networking
  • Basics of Sockets | What is a Socket?
  • Write Socket Program using Python socket module
  • TCP/IP Client and Server
  • Build a Python Socket Client with Example
  • UDP Client/Server Socket in Python with Example
  • Make a Multithreaded Socket Server
  • Socket Server with Multiple Clients

Course content

1 section10 lectures1h 46m total length
  • Introduction11:14

    Explore the basics of networking, including IP addresses, DHCP, and private ranges. Learn to apply these concepts to Python socket programming with TCP and UDP client-server applications.

  • 310:08

    Learn how private ip addresses work in home networks and how ip packets use headers and encapsulation; dns resolves hostnames to ip addresses via local servers.

  • 510:42

    Learn the differences between UDP and TCP, including UDP's fire-and-forget, no-delivery-guarantee model for streaming and DNS, versus TCP's connection-oriented, reliable, in-order data delivery with acknowledgments.

  • 28:04

    Explore socket programming in Python by examining the socket module, client-server communication, binding and listening, and the request-response interaction that underpins inter-process communication.

  • 612:03

    Learn to create a dcp socket in Python, configure socket family and type, and implement error handling to connect a tcp client to a server using a host and port.

  • 711:16

    Build a tcp server using Python's socket module, bind to a local IP and port, listen with a backlog, accept connections, and exchange utf-8 encoded data with the client.

  • 89:34

    Build a Python socket client that connects to localhost on port 12345, exchanges payloads with the server using send and recv, and supports interactive input before closing.

  • 911:39

    Learn how udp sockets enable a connectionless client-server exchange by binding to a local ip and port and exchanging data with sendto and recvfrom.

  • 1013:52

    Learn to handle multiple client connections concurrently with a multi-threaded Python socket server using threading, an accept loop, and per-client threads that receive and send data.

  • 118:19

    Learn to build a multi-client socket server and client pair in Python, handling concurrent connections with threads, exchanging messages over host and port using UTF-8 encoding.

Requirements

  • Basic Python Knowledge

Description

Welcome to this course on Python Socket Programming Tutorial. In this video we will see the Basics of Networking. The goal of this Socket programming tutorial is to learn how to build client/server applications that communicate using sockets. We are going to look at a bunch of application level protocols (HTTP, DNS, FTP, SMTP, POP, IMAP, ..). The Objective of this course is to understand principles of networking,   learn TCP and UDP features, learn to implement Python programs to access networking functionality. We will see Python examples of client and server program structures etc.

In this Course you will learn Basics of Networking, Basics of Sockets | What is a Socket?, Write Your First Socket Program using Python socket module, TCP/IP Client and Server, Build a Python Socket Client with Example, UDP Client/Server Socket in Python with Example, Make a Multithreaded Socket Server, Socket Server with Multiple Clients

Who this course is for:

  • Students
  • People looking to learn Python