Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from kerelape/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
yegor256 authored May 30, 2023
2 parents ad42d6f + ecc6af5 commit 8ebe39e
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ This is how to connect to a TCP server and send 88:
```
+alias org.eolang.net.socket
seq > @
as-output. > output
connect.
socket
"localhost"
8080
output.write 88
output.flush
[] > main
seq > @
as-output. > output
connect.
socket
"localhost"
8080
output.write 88
output.flush
```

Server:
Expand All @@ -28,16 +29,17 @@ Server:
+alias org.eolang.net.socket
seq > @
write.
as-output. > output
accept. > conn
listen.
socket
"localhost"
8080
conn.as-input.read
output.flush
[] > main
seq > @
write.
as-output. > output
accept. > conn
listen.
socket
"localhost"
8080
conn.as-input.read
output.flush
```

## How to Contribute
Expand Down

0 comments on commit 8ebe39e

Please sign in to comment.