Skip to content

ajb413/python-socket-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Sockets with Python

Send data from client to server using Python sockets in client.py and server.py.

Send data from peer to peer (client to client) using PubNub with pn_client_1.py and pn_client_2.py.

Install the PubNub package with pip (lastest as of 01/2019):

pip install 'pubnub>=4.1.2'

You must put in your free PubNub API keys to use pn_client_1.py and pn_client_2.py. Sign up at https://dashboard.pubnub.com/signup

Watch the tutorial video or read guide in the Python Socket Programming Tutorial PubNub Blog post.

Releases

No releases published

Packages

No packages published

Languages