well i knew that i need to put the packet in a byte array
so i defined it
and when i send it using the send through a socket like this
it gives me this error
what should i do to make this thing work :S help please :) tanks in advance
so i defined it
Code:
BYTE pack[7] = {
0x01, 0x00,
0x4F, 0x70,
0x20, 0x00,
0x04
};
Code:
send(nuconnector,pack, sizeof(pack), 0);
Code:
error C2664: 'send' : cannot convert parameter 2 from 'BYTE [7]' to 'const char *'