Fixed improper passing of the optvalue. PLEASE TURN ON ALL WARNINGS!!!!
Merge pull request #76 from davids5/tcp_server_fix

Fixed improper passing of the optvalue.