added send_raw_packet() and recv_raw_packet()

This commit is contained in:
wangyu-
2018-07-23 09:50:21 -05:00
parent b0d96a3c47
commit 80d21e56c7
7 changed files with 197 additions and 105 deletions

View File

@@ -100,7 +100,7 @@ int client_on_timer(conn_info_t &conn_info) //for client. called when a timer is
}
else
{
send_info.src_port = source_addr.get_port();
send_info.src_port = source_port;
}
if (raw_mode == mode_icmp)