Merge pull request #321 from htlxyz/v3

add sockTcp, timer, function test