Sockets

Download python eBook

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

Related Examples

Stats

118 Contributors: 9
Monday, February 13, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook