hey im getting an array bounds overflow....
any help would be greatly appreciated.Code:if (command == 1) { char outMessage[1] = "1"; nBytes = send(mySocket, outMessage, sizeof(outMessage), 0); printf("Message Sent : %s\n", outMessage); }
hey im getting an array bounds overflow....
any help would be greatly appreciated.Code:if (command == 1) { char outMessage[1] = "1"; nBytes = send(mySocket, outMessage, sizeof(outMessage), 0); printf("Message Sent : %s\n", outMessage); }