This is my Code to send my own LoginResponse:
The Function to make the LoginResponse:
[Only registered and activated users can see links. Click Here To Register...]
After the LoginResponse the Proxy gets an Packet with the Size of: 334 sometimes 336 or 330 and then Client Closes.
I hope anybody can help me or got an Idea what to do ;)
Code:
if (!LoginRequest)
{
byte[] _buffer = new byte[Size];
_buffer = PacketAnalyse.ReturnLoginResponse(GlobalConfig.ServerIp, Data);
Crypt.Encrypt(ref _buffer);
sockClient.Send(_buffer);
Console.WriteLine("[Proxy->Client] LoginResponse sended.");
LoginRequest = !LoginRequest;
continue;
}
[Only registered and activated users can see links. Click Here To Register...]
After the LoginResponse the Proxy gets an Packet with the Size of: 334 sometimes 336 or 330 and then Client Closes.
I hope anybody can help me or got an Idea what to do ;)