End Google Ads 201810 - BS.net 01 --> Hey there,

I have a function called,

App 1:

void GetImage(CImage * img)
{
//Pass &img over socket to another app
}

App 2:

void DisplayImage()
{
CImage * pImg = &img;
}

Is it possible to pass a class pointer as memory buffer across the socket?

The above code is just an example. My question in general is, whether it's possible to pass any Classes pointer as a memory buffer across sockets.

Thanks