G
Guest
hi, to get the bytes sent by a socket, in VB a simple local variable like
below was used
Dim recv as Byte()
how can i do that in C++...this is what i am trying now
Byte * rec[] = new Bytes;
but i get these errors:
x:\User\FinalProject\Battleship\NewGame.h(180): error C2691: 'unsigned char
__gc *' : invalid type for __gc array element
x:\User\FinalProject\Battleship\NewGame.h(180): error C2061: syntax error :
identifier 'Bytes'
how can i get the bytes variable so i can receive the text sent by the other
connected socket? thanks
below was used
Dim recv as Byte()
how can i do that in C++...this is what i am trying now
Byte * rec[] = new Bytes;
but i get these errors:
x:\User\FinalProject\Battleship\NewGame.h(180): error C2691: 'unsigned char
__gc *' : invalid type for __gc array element
x:\User\FinalProject\Battleship\NewGame.h(180): error C2061: syntax error :
identifier 'Bytes'
how can i get the bytes variable so i can receive the text sent by the other
connected socket? thanks