made changes to server-tcp.c to fit coding standards