added partial functionality for endpoints
This commit is contained in:
parent
239fbe6084
commit
8aa1fa98d9
6 changed files with 80 additions and 15 deletions
7
src/prudp/sockaddr.rs
Normal file
7
src/prudp/sockaddr.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use std::net::SocketAddrV4;
|
||||
use crate::prudp::packet::VirtualPort;
|
||||
|
||||
pub struct PRUDPSockAddr{
|
||||
pub regular_socket_addr: SocketAddrV4,
|
||||
pub virtual_port: VirtualPort
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue