Below is my c++ class, a wrapper to send buffer
void TestSocket::Send(BYTE *mybuf)
{
...
localBuffer = mybuf;
DoSend(localBuffer);
...
}
In csharp code as follows.
byte[] content = new byte[1024];
mySocket.Send(content );
But it canot work. what's my wrong?
Help needed.