This commit is contained in:
Mootfrost777 2022-04-23 18:12:13 +03:00
parent 480b3d44ca
commit 632b6b154e
11 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -62,7 +62,7 @@ namespace Bowling_Server
IPEndPoint ipe = new IPEndPoint(ip, port); IPEndPoint ipe = new IPEndPoint(ip, port);
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.Bind(ipe); socket.Bind(ipe);
socket.Listen(2); socket.Listen(100);
} }
public static void Send(string message, Socket client) public static void Send(string message, Socket client)
{ {