diff options
author | rodri <rgl@antares-labs.eu> | 2022-06-08 07:29:14 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2022-06-08 07:29:14 +0000 |
commit | a5c44d9c396b02c013c9d76709382d7e67aee458 (patch) | |
tree | 5b5b751a18c02ea42e391f69228b353660375db3 /musw.c | |
parent | b8379bd4d9bd65ae85c7d08554dc6ded0d9e1b7d (diff) | |
download | musw-a5c44d9c396b02c013c9d76709382d7e67aee458.tar.gz musw-a5c44d9c396b02c013c9d76709382d7e67aee458.tar.bz2 musw-a5c44d9c396b02c013c9d76709382d7e67aee458.zip |
changed the transport from tcp to udp. got rid of some unnecessary connection management and party setup code—needs further refactoring. fixed some nomenclatures.
Diffstat (limited to 'musw.c')
-rw-r--r-- | musw.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -68,7 +68,7 @@ readvmodel(char *file) if(bin == nil) sysfatal("Bopen: %r"); - mdl = emalloc(sizeof *mdl); + mdl = emalloc(sizeof(VModel)); mdl->pts = nil; mdl->npts = 0; mdl->strokefmt = nil; @@ -354,6 +354,8 @@ threadmain(int argc, char *argv[]) kchan = chancreate(sizeof kdown, 1); proccreate(kbdproc, nil, 4096); + /* TODO: draw a CONNECTING... sign */ + /* TODO: set up an alarm for n secs and update the sign */ fd = dial(server, nil, nil, nil); if(fd < 0) sysfatal("dial: %r"); |