ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/loop.C
(Generate patch)

Comparing deliantra/server/socket/loop.C (file contents):
Revision 1.86 by root, Sun Nov 29 10:55:18 2009 UTC vs.
Revision 1.87 by root, Sat Jan 16 13:41:38 2010 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify it under 6 * Deliantra is free software: you can redistribute it and/or modify it under
7 * the terms of the Affero GNU General Public License as published by the 7 * the terms of the Affero GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or (at your 8 * Free Software Foundation, either version 3 of the License, or (at your
9 * option) any later version. 9 * option) any later version.
40#include <netinet/in.h> 40#include <netinet/in.h>
41#include <netdb.h> 41#include <netdb.h>
42 42
43#include <unistd.h> 43#include <unistd.h>
44#include <arpa/inet.h> 44#include <arpa/inet.h>
45
46#include <loader.h>
47 45
48#define BG_SCRUB_RATE 4 // how often to send a face in the background 46#define BG_SCRUB_RATE 4 // how often to send a face in the background
49 47
50#define MAX_QUEUE_DEPTH 50 48#define MAX_QUEUE_DEPTH 50
51#define MAX_QUEUE_BACKLOG 3. 49#define MAX_QUEUE_BACKLOG 3.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines