mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-12 10:19:18 +02:00
Server: Minor code refactoring
This commit is contained in:
parent
0dde935ffe
commit
5cdcda413e
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ namespace SMBLibrary.Server
|
||||||
Socket clientSocket = state.ClientSocket;
|
Socket clientSocket = state.ClientSocket;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
clientSocket.Send(response.GetBytes());
|
byte[] responseBytes = response.GetBytes();
|
||||||
|
clientSocket.Send(responseBytes);
|
||||||
}
|
}
|
||||||
catch (SocketException ex)
|
catch (SocketException ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue