mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
parent
1697db9d7f
commit
c5187ae12b
2 changed files with 23 additions and 4 deletions
|
|
@ -84,8 +84,17 @@ namespace TLSharp.Core.Network
|
|||
}
|
||||
|
||||
return new TcpMessage(seq, body);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public bool IsConnected
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._tcpClient.Connected;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (_tcpClient.Connected)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue