error 添加ip port
This commit is contained in:
parent
380d07fb5d
commit
576ff5cb63
@ -144,7 +144,12 @@ void TargetConn::ForwardClientMsgEx(f8::MsgHdr* hdr)
|
||||
|
||||
void TargetConn::on_error(a8::TcpClient* sender, int errorId)
|
||||
{
|
||||
a8::UdpLog::Instance()->Error("TargetConn errorid=%d", {errorId});
|
||||
a8::UdpLog::Instance()->Error("TargetConn errorid=%d remote_ip:%s remote_port:%d",
|
||||
{
|
||||
errorId,
|
||||
sender->remote_address,
|
||||
sender->remote_port
|
||||
});
|
||||
}
|
||||
|
||||
void TargetConn::on_connect(a8::TcpClient* sender)
|
||||
|
Loading…
x
Reference in New Issue
Block a user