🔀 Simple P2P chat server (for initiating connections)
Go to file
2024-06-03 21:00:02 +00:00
client Removed unecessary sleep 2024-06-02 00:24:39 +02:00
common Flag specification of WS API addr and UDP API addr 2024-05-27 20:10:31 +02:00
server Merged master into acceptallorigins 2024-06-03 21:00:02 +00:00
.gitignore Enabled two-way communication between client and server 2024-03-29 15:05:42 +01:00
go.mod Bump golang.org/x/net from 0.21.0 to 0.23.0 2024-04-29 11:49:02 +00:00
go.sum Bump golang.org/x/net from 0.21.0 to 0.23.0 2024-04-29 11:49:02 +00:00
main.go Flag specification of WS API addr and UDP API addr 2024-05-27 20:10:31 +02:00
README.md Update run instructions in README 2024-05-28 23:53:12 +02:00

🔀 Archat

It is not working application yet, work in progress!

Simple P2P server (and client - for testing purposes only, client for end user will be written in NodeJS using Electron, soon).

Starting

You can use these commands to start client and/or server:

go run . --run client --waddr X.X.X.X:Y --uaddr X.X.X.X:Y
# for example:
go run . --run client --waddr krzyzanowski.dev:8080 --uaddr krzyzanowski.dev:8081

Note that server should be started before running client.

go run . --run server --waddr X.X.X.X:Y --uaddr X.X.X.X:Y
# for example:
go run . --run server --waddr krzyzanowski.dev:8080 --uaddr krzyzanowski.dev:8081

--waddr and --uaddr options are optional, default values are respectively :8080 and :8081 (which is a short form of localhost:8080 and localhost:8081)

--run option is mandatory and may take value of either client or server