Branch
Git HTTP | https://git.kmx.io/kc3-lang/fnet.git |
---|---|
Git SSH | git@git.kmx.io:kc3-lang/fnet.git |
Public access ? | public |
Description |
Forked from https://github.com/skullchap/fnet |
Users |
![]() ![]() ![]() ![]() |
Tags |
|
NetConn *c = fnetdial("tcp", "127.0.0.1:9999");
fprintf(fnetf(c), "hello!\n");
NetConn* fnetdial(char *proto, char *addr);
NetConn* fnetlisten(char *proto, char *addr);
NetConn* fnetaccept(NetConn*);
char* fneterr(void);
FILE* fnetf(NetConn*);
char* fnetlocaddr(NetConn*);
char* fnetremaddr(NetConn*);
void fnetclose(NetConn*);
cd examples/
./compile dial && ./compile listen
# ./listen tcp 127.0.0.1:9999 # ./dial tcp 127.0.0.1:9999
MIT