im writing some simple networking software, the first version is just serial and parallell support. i open the host port and open the guest port. After 3 seconds (allow time for port to init) the guest states its network name and id and encryption set. The other machine then basically sends an ack back. But i want some sort of timeout loop where if after x seconds the data is not sent the host can request it. But i also need to continually poll the port to check for data, how can i set up a simple timing loop?
Windows Console Win9x BCCB3