🔀 Simple P2P chat server (for initiating connections)
Go to file
Maciej Krzyżanowski 559a33eaa7 Flag specification of WS API addr and UDP API addr
From now on flags --waddr for providing WebSocket API address
(for server to run or client to connect to) and --uaddr for providing
address of UDP hole punching listener (also server and client would use it)
2024-05-27 20:10:31 +02:00
client Flag specification of WS API addr and UDP API addr 2024-05-27 20:10:31 +02:00
common Flag specification of WS API addr and UDP API addr 2024-05-27 20:10:31 +02:00
server Flag specification of WS API addr and UDP API addr 2024-05-27 20:10:31 +02: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 Finished implementation for B, C, D stages of initiation 2024-04-29 13:46:26 +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 . client

Note that server should be started before running client.

go run . server

For now, address of server is hardcoded in client, and server starts on localhost:8080.