Issue with games using Web Server

BlitzMax Forums/BlitzMax Programming/Issue with games using Web Server

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Okay, I'm trying to make games that use a standard webserver to communicate between them. I have it working fine for things like authenticating a login and posting hi-scores, but dynamically signalling each player of events effectively seems to be a problem.

The Problem Scenario (Two Players):
Using a BlitzMax client program and an ASP/ASP.NET webserver running MySQL. No chance of using CGI.

1. It's player ones turn, he has 60 seconds to move, but moves in 3 seconds. His move is communicated VIA http
2. How do I effectively signal the other player from the webserver that player one has moved? the keyword is effective, because I could have player 2 constantly query the server via HTTP or have player 2 query with delays,but this introducea delays into the game or causes load on the server. I'd prefer the ability for the server to be able to directly send player 2 the message, I am maintaining sessions, so there is a constant TCP connection between player 2 and IIS on the webserver. So if somehow I could signal IIS to send a page to a particular session user, but I think that is near impossible.


Any ideas anybody? Anybody know of any code samples doing this?