Struct netcode::Server
[−]
[src]
pub struct Server { /* fields omitted */ }
Methods
impl Server
[src]
fn new<S>(public_addr: S,
bind_addr: S,
private_key: &[u8],
protocol_id: u64,
max_clients: usize)
-> Result<Server, ServerError> where S: Into<String>
bind_addr: S,
private_key: &[u8],
protocol_id: u64,
max_clients: usize)
-> Result<Server, ServerError> where S: Into<String>