29.06.2013, 15:59
Quote:
|
In Query class:
Код:
public int Recieve()
{
try
{
_count = 0;
EndPoint endpoint = new IPEndPoint(address, _port);
byte[] rBuffer = new byte[500];
qSocket.ReceiveFrom(rBuffer, ref endpoint);
to Код:
public int Recieve()
{
try
{
_count = 0;
EndPoint endpoint = new IPEndPoint(address, _port);
byte[] rBuffer = new byte[3402];
qSocket.ReceiveFrom(rBuffer, ref endpoint);
EDIT; I don't know if it will work actually, but buffer with 500 bytes size is not enough to store more than 14 detailed player information with maximum name length - 24. |

