Joined: 07 Aug 2002
|Posted: Fri Jun 10, 2011 4:02 pm Post subject: very mind racking
|ok i have a tcp server running via vdsipp.dll
when a client connects a bitbtn changes to the "up" status.
i do this by doing
dialog show, comp%%userid
so that for every new client the next bitbtn comes up
i want to click the bitbtn to send a "get report" command to that client.
also after a disconnect is there a way to free up the userid number with the dll
i.e. client 1, 2, 3, 4 connect and client 2 then disconnects when the next client connects it goes to "5" i want it to be "2".
can i do this? or would i have to do some gosubs "onconnect" and "ondisconnect" to set and reset a VAR?