Python Language Sockets

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

Many programming languages use sockets to communicate across processes or between devices. This topic explains proper usage the the sockets module in Python to facilitate sending and receiving data over common networking protocols.

Parameters

ParameterDescription
socket.AF_UNIXUNIX Socket
socket.AF_INETIPv4
socket.AF_INET6IPv6
socket.SOCK_STREAMTCP
socket.SOCK_DGRAMUDP


Got any Python Language Question?