MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetLocalAddrPort

Method GetLocalAddrPort

sourcecommon/tcpserv.cpp:139–144  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

137}
138//---------------------------------------------------------------------------
139AnsiString MSocket::GetLocalAddrPort(void)
140{
141 AnsiString rv(inet_ntoa(localAddr.sin_addr));
142 rv += ":" + IntToStr(htons(localAddr.sin_port));
143 return rv;
144}
145//---------------------------------------------------------------------------
146AnsiString MSocket::GetRemoteAddr(void)
147{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected