1
This commit is contained in:
parent
32076b1c5c
commit
c70cf338be
@ -66,6 +66,7 @@ void KcpSession::SendClientMsg(char* buf, int buf_len)
|
|||||||
|
|
||||||
void KcpSession::OnRecvPacket(a8::UdpPacket* pkt)
|
void KcpSession::OnRecvPacket(a8::UdpPacket* pkt)
|
||||||
{
|
{
|
||||||
|
remote_addr_ = pkt->remote_addr;
|
||||||
ikcp_input(kcp_, pkt->buf, pkt->buf_len);
|
ikcp_input(kcp_, pkt->buf, pkt->buf_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user