well if all you wanna do is prevent the program from reaching an end you can simply declare and integer and set it to a value.. say the value is 0. and then you can do this:
while(integer != 1)
{
// here is where the actual program code
// that does stuff will be
// you will have to embed an...
well, the way you could call a function on the server side from the client side for example is when you push a button it sends a string.. say the string sent is "doFunction1", you could program the servers OnReceive() function with a switch ir a series of If statements, that checks the...
the service should keep running, i am currently writting a program with CAsyncSocket as well, the program does not terminate, are you using visual c++? the program should not terminate unless you pass the IDOK function or you close the program yourself.. visual c++ is an event driven...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.