Return Type | Function name | Arguments |
---|---|---|
void | hzTcpClient::Show | (hzChain&,) |
Declared in file: hzTcpClient.h
Defined in file : hzTcpClient.cpp
Function Logic:
Function body:
void hzTcpClient::Show (hzChain& Z) { if (!m_pHost) Z << "hzTcpClient::Show: Not Connected\n" ; else { Z.Printf("hzTcpClient::Show: Connected to: %u.%u.%u.%u %s (type %d, len %d)\n", m_pHost->h_addr[0],m_pHost->h_addr[1],m_pHost->h_addr[2],m_pHost->h_addr[3], m_pHost->h_name, m_pHost->h_addrtype, m_pHost->h_length) ; Z.Printf(" (alias) %s\n", m_pHost->h_aliases[0]); Z.Printf(" (addr) %s\n", m_pHost->h_addr_list[0]+ 4); Z << "------\n" ; } }