Fixed size
This commit is contained in:
parent
bacb83b084
commit
c5e432b566
|
@ -99,7 +99,7 @@ bool Connection::Send(const unsigned char message[])
|
||||||
int nBytes;
|
int nBytes;
|
||||||
unsigned long messageSize = strlen((char*)message);
|
unsigned long messageSize = strlen((char*)message);
|
||||||
|
|
||||||
messageSize = 18;
|
messageSize = 255;
|
||||||
nBytes = send(mySocket, (char*)message , messageSize, 0);
|
nBytes = send(mySocket, (char*)message , messageSize, 0);
|
||||||
if(nBytes == SOCKET_ERROR)
|
if(nBytes == SOCKET_ERROR)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue