Socket Programming in Python: Advanced Topics
Python 3.7
| Beginner
- 11 Videos | 1h 20m 46s
- Includes Assessment
- Earns a Badge
This 11-video course explores advanced features of Python sockets, including the transfer of large files over sockets, two-way communication, and differences between blocking and nonblocking sockets. You will learn to transfer large files over sockets by breaking them up into chunks, and to transfer images over TCP (transmission control protocol) sockets. Then you will learn how to transfer Python objects by using the pickle module. Next, learn how to create a chat application and use it to transfer several types of data from a server application to a client. Learners continue by exploring how to configure two-way communication over sockets by building a simple chat. This course examines the performance versus reliability trade-off when one uses blocking and nonblocking sockets. You will examine and compare TCP, a connection-oriented protocol, and UDP (Universal Datagram Protocol) which is connectionless. Finally, you will examine the performance versus reliability trade-off with a TCP and UDP, and why TCP is better suited for apps which require high reliability at the other end of the communication line.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursebuild a Python app to break up a large text file into chunks and send the chunks over a socket connection to a recipient appcode a Python app to receive a large text file in chunks and reconstruct that filetransmit an image file from one Python app to another by breaking it up into chunksconfigure the server of a client-server chat applicationwrite the code for the client end of a client-server chat application
-
recognize the effects of setting sockets to run in blocking mode when large transfers are involvedrecall the considerations for setting a Python socket to use non-blocking modewrite a Python app that subscribes to RSS data feedsset up applications to transfer data using UDP and distinguish between UDP and TCP socketssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 11sUP NEXT
-
2.Sending Large Text Files Using Sockets8m 57s
-
3.Receiving Large Text Files Using Sockets6m 29s
-
4.Transferring Image Files with Sockets8m 17s
-
5.Using Sockets to Build a Chat Application - Part 19m 5s
-
6.Using Sockets to Build a Chat Application - Part 28m 8s
-
7.Sockets in Blocking Mode7m 21s
-
8.Sockets in Non-Blocking Mode9m 44s
-
9.Using Python to Subscribe to RSS Feeds9m 34s
-
10.UDP Sockets in Python10m
-
11.Course Summary1m
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.