Commit graph

6 commits

Author SHA1 Message Date
berhsi
5522e04840 client-clear.py: bugs in main() and read_argument() fixed
read_argument(): return now outside from while loop. loop works now until a valid value ist
entered. main(): reads now a return value from server and close the socket.
2019-07-26 22:02:01 +02:00
berhsi
fd49e706f3 server-clear.py: returns now a error code if argument is invalid 2019-07-26 21:57:07 +02:00
berhsi
6574a58e15 kodierung.py added
kodierung.py provides any little functions around encoding or decoding from strings or bytes
2019-07-26 21:35:29 +02:00
berhsi
b830789f0e client-clear.py: initialer commit
initialer commit for a client, who pushs a status of one or zero to the server. if no argument
in cli, the client gives a commandline input to read.
2019-07-26 21:33:40 +02:00
berhsi
4bbd2aed54 server-clear.py: backlog changed and timeout added
the server has now a limit of 5 connections in socket.listen(). added a timeout from 3 seconds
to the connection
2019-07-26 21:30:58 +02:00
berhsi
dc088179f5 initiler commit
initialer commit eines servers, der ein bit aus einem socket liest
2019-07-26 19:43:59 +02:00