This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern mod std; | |
use std::net; | |
use std::uv; | |
type ErrChan = comm::SharedChan<Option<net::tcp::TcpErrData>>; | |
fn on_ready(_kill_ch: ErrChan) { | |
io::println("listener is ready"); | |
} |