pub fn listen_tcp<A: ToSocketAddrs>(&self, addr: A) {
        let listener = TcpListener::bind(addr).unwrap();

        fastcgi::run_tcp(|request| {
            self.handle_request(request);
        }, &listener);
    }
/// Listen for requests over a TCP socket.
Listen for requests over a TCP socket.
Listen for requests over a TCP socket .
pub fn listen_tcp<A: ToSocketAddrs>(&self, addr: A) {
        let listener = TcpListener::bind(addr).unwrap();
        fastcgi::run_tcp(|request| {
            self.handle_request(request);
        }, &listener);
    }
pub fn listen_tcp < A : ToSocketAddrs > ( & self , addr : A ) { let listener = TcpListener :: bind ( addr ) . unwrap ( ) ; fastcgi :: run_tcp ( | request | { self . handle_request ( request ) ; } , & listener ) ; }
Listen for requests over a TCP socket.
Listen for requests over a TCP socket .
&self
addr
A
&self
addr
A