mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add network.__closeserver
This commit is contained in:
parent
1b04a2a61e
commit
847ef23092
3 changed files with 19 additions and 5 deletions
|
|
@ -75,6 +75,7 @@ namespace network {
|
|||
);
|
||||
|
||||
[[nodiscard]] Connection* getConnection(u64id_t id) const;
|
||||
[[nodiscard]] TcpServer* getServer(u64id_t id) const;
|
||||
|
||||
u64id_t connect(const std::string& address, int port, consumer<u64id_t> callback);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue