Skip to content

mangint/SimplePythonUnixSocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

#SimplePythonUnixSocket

Description

Simple example of a server program and its corresponding client using a Unix Socket.

Try it

To test it, open two ternimal windows: in the 1st one, run the command "python3 server.py" which create a server binded to a unix socket at /tmp/python_unix_sockets_example in the 2nd one, run the command "python3 client.py" which is connected to the unix socket at /tmp/python_unix_sockets_example

Once this done, in the client terminal window, start writing text. Press to send the text to the server which will write in on the standard output on his terminal window.

To close the server, send "DONE" to the server fron your client window.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages