Keith Willis wrote:
> Just confirming that you meant to write:
> ClientCnx->Receive(Junk, sizeof(Junk));
> Instead of:
> ClientCnx->Receive(&Junk, sizeof(Junk));

I don't think so, I meant the address of Junk which is the 
address of the first element of the static array, isn't it?
Same as ClientCnx->Receive(&Junk[0], sizeof(Junk));
In Delphi you MUST write it that way. Seems like CB has some 
built-in compiler magic so that ClientCnx->Receive(Junk, sizeof(Junk));
works as well (I used C++Builder 2007 and ICS v7).

Arno Garrels

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to