- Guests can now watch as other guests connect during i_net handshaking.

- Fixed: The host would let more than the desired number of players connect.
- Decreased the frequency of packets in ST_NetLoop() to two per second.
- Fixed: During the i_net handshaking, guests never verified that the messages
  they received were from the host.
- Removed the -net command line option. I'm not sure it even worked anymore.


SVN r421 (trunk)
This commit is contained in:
Randy Heit 2006-12-23 03:40:12 +00:00
commit 1360a1d89e
5 changed files with 144 additions and 101 deletions

View file

@ -137,7 +137,7 @@ bool ST_NetLoop(bool (*timer_callback)(void *), void *userdata)
{
// Don't flood the network with packets on startup.
tv.tv_sec = 0;
tv.tv_usec = 250000;
tv.tv_usec = 500000;
retval = select (1, &rfds, NULL, NULL, &tv);