Skip to content

Snippet for sending Python objects over TCP socket without having to deal with socket fragmenting your stuff.

License

Notifications You must be signed in to change notification settings

Azuresonance/Python_Socket_Simple_Send

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python_Socket_Simple_Send

TCP sockets are troublesome to deal with. Sometimes you just want to send a simple stuff, but since TCP is a stream-based protocol, you have to write all sorts of loops and buffering, to deal with TCP fragmenting your stuff.

This piece of code can reliably send your stuff and makes sure it arrives at the other side in one piece.

Anything that pickle can deal with is supported.

About

Snippet for sending Python objects over TCP socket without having to deal with socket fragmenting your stuff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages