Tiny coss-platform tcp library