mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fix when network is disabled
This commit is contained in:
@@ -766,6 +766,13 @@ void NetworkStream::SetNoDelay(bool noDelay)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
uint16_t NetworkStream::GetPort()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
uint16_t TcpServer::GetPort()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user