compiler/src/test/server
2016-06-16 16:25:36 +01:00
..
Makefile forking server example with oberon; -- noch. 2015-03-19 19:33:34 +04:00
readme.md readme fixed 2015-03-19 21:03:29 +04:00
s.Mod Update test files to v2. 2016-06-16 16:25:36 +01:00
sockets.Mod Update test files to v2. 2016-06-16 16:25:36 +01:00
types.Mod Update test files to v2. 2016-06-16 16:25:36 +01:00

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 հեյ