Description:

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.

Target Audience:

Duration: 01:21

Description:

Learners can explore basic concepts of Python socket programming, and how to communicate small amounts of data between Python applications by using either the same machine or over a network, in this 9-video course. Begin by learning how to use Python language to set up a communication line by creating a socket. Then learn to initialize a simple socket, and use it to transfer text data from one application to another. This course next demonstrates how to create a client app and server app in Python, and how each app uses a socket to communicate. Learners will observe a demonstration of how to transmit a Python dictionary and custom object over a socket connection. You will learn how to use a socket model to set up a simple TCP (transmission control protocol) socket to transfer text between applications. Next, learners will examine other properties of Python sockets, including its use with the context manager and the setting of a time-out for connections. Finally, you will learn to use the Pickle library to convey Python objects over a socket connection.

Target Audience:

Duration: 01:03