04_intro_to_sockets: update readme
This commit is contained in:
parent
fe43eafb5c
commit
3b34468314
|
|
@ -5,7 +5,7 @@
|
|||
This project implements a daytime TCP/UDP server and client.
|
||||
The server listens for incoming connections and responds with the current date
|
||||
and time. The client sends a message to the choosing the output format of the
|
||||
date and time. The server responnds with
|
||||
date and time.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -14,6 +14,7 @@ $ make
|
|||
# start tcp server
|
||||
$ bin/daytimeTCPSrv <port>
|
||||
# run tcp client
|
||||
# message 1 -> get localtime otherwise get gmtime
|
||||
$ bin/daytimeTCPCli <server-ip> <server-port> <message>
|
||||
|
||||
# start udp server
|
||||
|
|
|
|||
Loading…
Reference in New Issue