On 10/11/2015 at 14:53, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 16
Platform: Windows ;
Language(s) : C++ ;
---------
Is it possible to send custom messages with NetSendData()? It seems like when I pass my own plugin
ID, I always get MESSAGERESULT_UNKNOWN error and the message is not sent to the TR server. Small
example:
struct NetRenderMsgVbGi
{
UInt size;
Bool compute, wait;
};
NetRenderBuffer msg, result;
msg.id = MSG_NETRENDER_VB_GI;
msg.job = vps->net->_renderJob->GetUuid();
msg.size = 0;
msg.data = nullptr;
MESSAGERESULT res = NetSendData(
vps->net->_service, vps->net->_renderJob->GetServerUuid(), &msg, &result, vps->thread);
Thanks in advance,
-Niklas