server.hpp | server.hpp | |||
---|---|---|---|---|
skipping to change at line 284 | skipping to change at line 284 | |||
template<typename selector_type> | template<typename selector_type> | |||
void basic_server<selector_type>::shutdown() | void basic_server<selector_type>::shutdown() | |||
{ | { | |||
shutdown_impl(); | shutdown_impl(); | |||
} | } | |||
template<typename selector_type> | template<typename selector_type> | |||
bool basic_server<selector_type>::is_open() const | bool basic_server<selector_type>::is_open() const | |||
{ | { | |||
return serv_sock.get() != NULL; | return serv_sock.get() != NULL || serv6_sock.get() != NULL; | |||
} | } | |||
template<typename selector_type> | template<typename selector_type> | |||
void basic_server<selector_type>::kick(const user& user) | void basic_server<selector_type>::kick(const user& user) | |||
{ | { | |||
remove_client(&user); | remove_client(&user); | |||
} | } | |||
template<typename selector_type> | template<typename selector_type> | |||
void basic_server<selector_type>::send(const packet& pack) | void basic_server<selector_type>::send(const packet& pack) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||