Socket Programming in Python: Advanced Topics
Python
| 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
-
2m 11s
-
8m 57sIn this video, you will build a Python app to break up a large text file into chunks and send the chunks over a socket connection to a recipient app. FREE ACCESS
-
6m 29sIn this video, you will learn how to code a Python app to receive a large text file in chunks and reconstruct that file. FREE ACCESS
-
8m 17sIn this video, find out how to transmit an image file from one Python app to another by breaking it up into smaller pieces. FREE ACCESS
-
9m 5sIn this video, you will configure the server for a client-server chat application. FREE ACCESS
-
8m 8sIn this video, you will learn how to write the code for the client side of a client-server chat application. FREE ACCESS
-
7m 21sAfter completing this video, you will be able to recognize the effects of setting sockets to run in blocking mode when large transfers are involved. FREE ACCESS
-
9m 44sUpon completion of this video, you will be able to recall the considerations for setting a Python socket to use non-blocking mode. FREE ACCESS
-
9m 34sFind out how to write a Python app that subscribes to RSS data feeds. FREE ACCESS
-
10mIn this video, find out how to set up applications to transfer data using UDP and distinguish between UDP and TCP sockets. FREE ACCESS
-
1m
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.