pub fn listen<'b>(&mut self,
                  addr: &'b str,
                  port: usize) -> Result<Receiver<ProtoMsg<<T as Protocol>::Output>>, String> {
        self.inner.listen(addr, port, &mut self.event_loop)
    }
/// listen on the supplied ip address and port
/// any new connections will be accepted and polled for read events
/// all datagrams that arrive will be put into StreamBufs with their
/// corresponding token, and added to the default outbound data queue
/// this can be called multiple times for different ips/ports
listen on the supplied ip address and port
any new connections will be accepted and polled for read events
all datagrams that arrive will be put into StreamBufs with their
corresponding token, and added to the default outbound data queue
this can be called multiple times for different ips/ports
listen on the supplied ip address and port any new connections will be accepted and polled for read events all datagrams that arrive will be put into StreamBufs with their corresponding token and added to the default outbound data queue this can be called multiple times for different ips / ports
pub fn listen<'b>(&mut self,
                  addr: &'b str,
                  port: usize) -> Result<Receiver<ProtoMsg<<T as Protocol>::Output>>, String> {
        self.inner.listen(addr, port, &mut self.event_loop)
    }
pub fn listen < ' b > ( & mut self , addr : & ' b str , port : usize ) -> Result < Receiver < ProtoMsg < < T as Protocol > :: Output > > , String > { self . inner . listen ( addr , port , & mut self . event_loop ) }
listen on the supplied ip address and port
any new connections will be accepted and polled for read events
all datagrams that arrive will be put into StreamBufs with their
corresponding token, and added to the default outbound data queue
this can be called multiple times for different ips/ports
listen on the supplied ip address and port any new connections will be accepted and polled for read events all datagrams that arrive will be put into StreamBufs with their corresponding token and added to the default outbound data queue this can be called multiple times for different ips / ports
&mut self
addr
&'b str
port
usize
&mut self
addr
&'b str
port
usize