From df26827a3f00d64f5af01271818c7c8bd7eaa387 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 5 Apr 2024 00:57:56 +0100 Subject: start of networking, and packet_reader --- client/main.ha | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/main.ha') diff --git a/client/main.ha b/client/main.ha index ba1736e..a0c25d8 100644 --- a/client/main.ha +++ b/client/main.ha @@ -1,6 +1,7 @@ use fmt; use sdl2; use math; +use net::dial; def CHUNKSIZE = 512; def NCHUNKS = 4; @@ -29,6 +30,7 @@ export fn main() void = { drawing = false, pos = (0,0), pictures = pictures, + conn = dial::dial("tcp","localhost:41460","unknown")!, }; let camera_pos: pos = (25, 50); -- cgit v1.2.3