Time out delays



Hi

How do i set a socket to wait for a reply after a set time frame? For
example the following scenarios:

1) Give a user 10 seconds to respond after which time send an automatic
message to the server from the client to do a default action
2) set a time limit to give the server time to respond before continuing

I have a lobby as part of my project and i need the lobby data to be
retrieved from the server. I do this by initialising a lobby object on the
server when it starts. All clients who connect send a request for the lobby
and i then serialise this object and send it to the client who deserialises
it initialising their local object to an exact copy of the server lobby
object at that point.

So i would like to set some form of time frame not only for general timeouts
but for making sure my client has the lobby data before continuning. Whats
the best way?


.



Relevant Pages

  • timed actions
    ... set a time limit to give the server time to respond before continuing ... I have a lobby as part of my project and i need the lobby data to be ... and i then serialise this object and send it to the client who deserialises ... So i would like to set some form of time frame not only for general timeouts ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Time out delays
    ... In native world that SO_RCVTIMEO for blocked sockets and timer parameter for ... set a time limit to give the server time to respond before continuing ... I have a lobby as part of my project and i need the lobby data to be ... lobby and i then serialise this object and send it to the client who ...
    (microsoft.public.win32.programmer.networks)
  • Re: small bit of new GTL info...... some new screenshots...
    ... Find a decent nearby server and the multi on racemore ... This should be in every multiplayer game... ... Yep, when simbins lobby goes down, every client on every multiplayer server ...
    (rec.autos.simulators)

Loading