Renamed the socket functions to the tcp functions.