THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/12/2007 at 18:55, xxxxxxxx wrote:
Well, for what I wanted to do, it may not even be necessary to know what's in the IpConnection class. It may only be necessary to pass it to the other functions, like the GeIpReadBytes() function.
Here's a wild guess as to what might need to be done:
\> IpConnection* ipc = GeIpOpenOutgoing(hostname, thread, ferr);
\> LONG size = GeIpBytesInInputBuffer( ipc);
\> GeIpReadBytes(ipc, buf, size)
Then somehow compare the version number retrieved from the connection and stored in the buffer, to the version number stored in the plugin.
But there are still a lot of questions as to how those functions are actually used. A big question would be which thread to safely do it in (most likely a thread that is running when Cinema 4D is idle), and how would you go about getting a pointer to that thread so it could be passed to the GeIpOpenOutgoing() function?
I really don't know anything about online programming, so there's probably a lot more to it than the simple guess above, but it would be nice if plugins could do an online check, so that users who change their email address and then don't notify the plugin developer, can still be informed of updates. ;)