Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Server from Client
Home

[Freeciv-Dev] Re: Server from Client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Server from Client
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 28 Dec 2001 22:36:47 +0100

On Fri, Dec 28, 2001 at 12:29:22PM -0500, Daniel L Speyer wrote:

> OK, here's the problem:
> Client 1 sends message to server
> Client 2 sends message to server
> Server answers client 1's message
> Client 2 picks up answer to Client 1's message

In rfcstyle, it shouldn't (except as a comment).

End of problem.

> Also, consider:
> Client sends message 1
> Server answers message 1
> Client sends message 2
> Client listens for responce to message 2
> Client pick up responce to message 1
> crash, burn, end of game
> Server answers message 2

Impossible, as long as the server is single-threaded, which it will remain
for some time to come.

-- 
Reinier


[Prev in Thread] Current Thread [Next in Thread]