mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-03 06:21:49 +02:00
Server: Added API to terminate a specific connection
This commit is contained in:
parent
bb8cadee93
commit
5637bb3b9c
1 changed files with 5 additions and 0 deletions
|
@ -408,6 +408,11 @@ namespace SMBLibrary.Server
|
|||
return m_connectionManager.GetSessionsInformation();
|
||||
}
|
||||
|
||||
public void TerminateConnection(IPEndPoint clientEndPoint)
|
||||
{
|
||||
m_connectionManager.ReleaseConnection(clientEndPoint);
|
||||
}
|
||||
|
||||
private void Log(Severity severity, string message)
|
||||
{
|
||||
// To be thread-safe we must capture the delegate reference first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue