Hi all,
New version of libmill was just released.
The major highlight is a set of convenience TCP-related functions.
For example:
tcpsock ls = tcplisten("*:5555");
while(1) {
tcpsock as = tcpaccept(ls);
...
}
Another example:
tcpsock cs = tcpconnect("127.0.0.1:5555");
tcpsend(cs, "ABC", 3);
tcpflush(cs);
Documentation cen be found here:
http://libmill.org/documentation.html#tcp
Enjoy!
Martin