ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/lowlevel.C
Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:17 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.33: +0 -2 lines
Diff to previous 1.33
nano-cleanups

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 21:02:54 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.32: +32 -4 lines
Diff to previous 1.32
make a horrendous hack to enable say and chat to be executed almost anytime

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Jan 20 13:47:17 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.31: +22 -22 lines
Diff to previous 1.31
comments

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 02:39:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
- fix crash bug
- better fork & abort (untested)

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:31 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.29: +1 -0 lines
Diff to previous 1.29
added some copyrights

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:06 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +7 -4 lines
Diff to previous 1.28
- made state a per-client variable
  (that does not magically make state a per-client thing!)
- rename player->socket to player->ns. its not a good name for "client",
  but it is an historical artifact, and better than "socket".

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 06:12:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27
- made client a first-class crossfire-perl object
  (its attachable), but perl support is missing.
- added some client events
- fixed reply not working after logout

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 01:19:11 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.26: +9 -0 lines
Diff to previous 1.26
some source simplification

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 04:58:05 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.25: +22 -26 lines
Diff to previous 1.25
- separate all comamnds into immediate/socket-level and queued/player-level
- clean up player command handling, handle up to 8 commands/tick

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Dec 17 19:14:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
re-enable async command execution

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 17:16:52 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
- remove no_shout
- serialise command execution somewhat again :(
- avoid exceptions

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 03:08:26 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +243 -75 lines
Diff to previous 1.22
- socket i/o is completely asynchronous now
- some command sare handled immediately
- others (most palying related commands) are queued
  for later (as of now synchronous) processing
- specifying a max queue length (in seconds) is possible, but disabled
- also add some syntax sugar for network code

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 19:59:20 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +9 -10 lines
Diff to previous 1.21
the rename for sanity campaign hits
you died
- renamed stuff
- partially updated copyrights
- some cleanups

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 00:14:13 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +3 -0 lines
Diff to previous 1.20
- make client_socket accessible to perl
- on linux, record rtt and rttvar
- who shows rtt/rttvar

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 21:46:34 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +89 -153 lines
Diff to previous 1.19
- write() is now independent of server ticks and will be done immediately
- get rid of CORK hack, it is no longer necessary

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 20:39:54 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.18: +28 -33 lines
Diff to previous 1.18
- implement c++ interface to Event->io watchers
- cut number of write()'s the server does in half

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 05:09:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +2 -3 lines
Diff to previous 1.17
- remove some old socket mode cruft
- preliminarily added attachable client_socket interface to perl
  (untested but also unreachable from perl code atm)

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 04:30:33 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +0 -1 lines
Diff to previous 1.16
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 02:37:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +10 -10 lines
Diff to previous 1.15
moar\! rewrite\!

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:59:10 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +37 -24 lines
Diff to previous 1.14
rewrite phase one finished

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:21:58 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.13: +10 -11 lines
Diff to previous 1.13
moar rewrite

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 01:12:35 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.12: +18 -22 lines
Diff to previous 1.12
(intermediate check-in for recoverability)

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 00:01:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.11: +36 -98 lines
Diff to previous 1.11
- further cleanup and rewrite
- fix a potential crash in "lock" and "mark" packets

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 21:27:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.10: +30 -22 lines
Diff to previous 1.10
continued simplifying network code, partially removed support for sc protocol 1026

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 18:51:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.9: +12 -0 lines
Diff to previous 1.9
started simplifying network code

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 18:08:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.8: +16 -27 lines
Diff to previous 1.8
started simplifying network code

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:47 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.7: +1 -60 lines
Diff to previous 1.7
removed #ifn?def WIN32 from all files

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Nov 26 19:48:50 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
double once more - stopid memory management does not scale

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +0 -6 lines
Diff to previous 1.5
indent

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 13:43:33 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +311 -253 lines
Diff to previous 1.4
indent

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 16:30:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
remove compression support, intiialise perl earlier etc. etc.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:38 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +157 -157 lines
Diff to previous 1.2
expand initial tabs to spaces

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Aug 18 02:06:58 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +1 -14 lines
Diff to previous 1.1
support health stats in an extensible way in map1

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:06 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_0: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a