Update tcpip.cpp

Added hex print functionality