If i have 2 zoidcom server istance on a single pc,something like Sharing UDP Sockets:
ZCom_Control *server1 = new ZCom_Control();
ZCom_Control *server2 = new ZCom_Control();
server1->ZCom_initSockets(true, 9999, 0, 1);
server2->ZCom_initSockets(true, 9999, 0, 1);
server1->ZCom_setControlID(0);
server2->ZCom_setControlID(1);
The first server ("server1") have the ConnectionID 0,and the the "server2" wath ConnectionID get ???
The ConnectionID restart from 0 from each server or continue the numeration then become "1" and not "0" ???
And the client connected to "server2" restart from id=1 or continue too the numeration of the first server ???
Tue Apr 21, 2009 5:32 pm
sharkyx
Site Admin
Joined: Thu Jan 29, 2004 6:33 am Posts: 1060
All ZCom_Controls maintain their own list of connections, so yes, you start with connection id 0 on each of them.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum