Closed teawater closed 4 years ago
This commit add pub fn add_listener to Server. This fn can add a fd as listener to Server. Then user replaces fn add_listener with fn bind to provide more flexibility for Server initialization.
Signed-off-by: Hui Zhu teawater@antfin.com
This commit add pub fn add_listener to Server. This fn can add a fd as listener to Server. Then user replaces fn add_listener with fn bind to provide more flexibility for Server initialization.
Signed-off-by: Hui Zhu teawater@antfin.com