I'm working on a "server" application that will have no user interface -- it'll be a console application. (It's on the PocketPC, but I doubt that changes the possible answers too much).
As a server, it sits and listens for requests on a TCP socket. The "standard" way of doing this seems to be to have a timer control that fires every .x seconds that runs a process that checks the buffer for data.
This works fine except when I have no forms and no controls. How can I check the buffer every so often without a timer?
As a server, it sits and listens for requests on a TCP socket. The "standard" way of doing this seems to be to have a timer control that fires every .x seconds that runs a process that checks the buffer for data.
This works fine except when I have no forms and no controls. How can I check the buffer every so often without a timer?