fixing tm_net's return values

cleaning up
Merge pull request #51 from tessel/jh-socket-recover

fixing tm_net's return values