This commit is contained in:
2026-05-25 17:58:51 +08:00
commit 4e11e68437
12 changed files with 69 additions and 0 deletions

13
src/server.c3 Normal file
View File

@@ -0,0 +1,13 @@
module server;
import std::net::tcp;
// run_server block
// handle(str message) -> message
fn String handle(String message) {
return message;
}
fn TcpServerSocket run_server(String host, int port) {
TcpServerSocket socket = connect_to(host, port);
}