diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-30 19:28:13 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-07-03 18:42:46 +0200 |
commit | c13be7959439edd03b3fabf8a73a301784bce2b6 (patch) | |
tree | e4068697fcaf027c222a7b59ad653af77f8535f5 /core/io/tcp_server.h | |
parent | 24c52f1c2e6a9726142bc816a79339e99bebd862 (diff) |
Add TCP Server is_listening method
Diffstat (limited to 'core/io/tcp_server.h')
-rw-r--r-- | core/io/tcp_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/tcp_server.h b/core/io/tcp_server.h index 538db175ad..ef64044599 100644 --- a/core/io/tcp_server.h +++ b/core/io/tcp_server.h @@ -50,6 +50,7 @@ protected: public: Error listen(uint16_t p_port, const IP_Address &p_bind_address = IP_Address("*")); + bool is_listening() const; bool is_connection_available() const; Ref<StreamPeerTCP> take_connection(); |