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

Update README.md #23

Merged
merged 1 commit into from
May 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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