server improved. -- noch

Former-commit-id: 3d7c49a6dc
This commit is contained in:
norayr 2015-03-19 21:01:47 +04:00
parent 2615a22901
commit 4f0312705e
3 changed files with 65 additions and 10 deletions

39
src/test/server/readme.md Normal file
View file

@ -0,0 +1,39 @@
forking server example in oberon
================================
to compile
>make
run
>./s
test
>telnet localhost 2055
write something
>հեյ
stdout of the client
> $ telnet localhost 2055
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
հեյ
Affirmative, DaveConnection closed by foreign host.
stdout of the server:
>$ ./s
socket created.
binding completed.
listen okay
accept okay
forked okay
received message is հեյ