Add resetIP() method, need impl
This commit is contained in:
@@ -44,6 +44,8 @@ namespace ColumnLynx::Net {
|
||||
bool configureIP(uint32_t clientIP, uint32_t serverIP,
|
||||
uint8_t prefixLen, uint16_t mtu);
|
||||
|
||||
void resetIP();
|
||||
|
||||
std::vector<uint8_t> readPacket();
|
||||
void writePacket(const std::vector<uint8_t>& packet);
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace ColumnLynx::Net::TCP {
|
||||
// Set callback for disconnects
|
||||
void setDisconnectCallback(std::function<void(std::shared_ptr<TCPConnection>)> cb);
|
||||
// Disconnect the client
|
||||
void disconnect();
|
||||
void disconnect(bool echo = true);
|
||||
|
||||
// Get the assigned session ID
|
||||
uint64_t getSessionID() const;
|
||||
|
||||
Reference in New Issue
Block a user