From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/src/net/unified_network.cpp?sortby=date | 570 +++++++++++++++++++++ 1 file changed, 570 insertions(+) create mode 100644 cvs/cvsweb.cgi/code/nel/src/net/unified_network.cpp?sortby=date (limited to 'cvs/cvsweb.cgi/code/nel/src/net/unified_network.cpp?sortby=date') diff --git a/cvs/cvsweb.cgi/code/nel/src/net/unified_network.cpp?sortby=date b/cvs/cvsweb.cgi/code/nel/src/net/unified_network.cpp?sortby=date new file mode 100644 index 00000000..efcb2f6b --- /dev/null +++ b/cvs/cvsweb.cgi/code/nel/src/net/unified_network.cpp?sortby=date @@ -0,0 +1,570 @@ + + + + nevrax.org : cvs + + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#Free software
+
+ + +
+ + +
+cvs + +
+ + +
Nevrax / code / nel / src / net / unified_network.cpp
+ + + + + +
unified_network.cpp
+

+

Default branch: MAIN
+


+ Revision 1.44 / (download) - annotate - [select for diffs] +, Fri Jul 26 09:01:18 2002 UTC (3 days, 9 hours ago) by lecroart +
Branch: MAIN + +
CVS Tags: HEAD +
Changes since 1.43: +11 -2 + lines
Diff to previous 1.43 +

+ADDED: stop check if the fucking assert occurs
+
+

+ Revision 1.43 / (download) - annotate - [select for diffs] +, Thu Jul 25 14:32:44 2002 UTC (4 days, 4 hours ago) by legros +
Branch: MAIN + +
Changes since 1.42: +27 -12 + lines
Diff to previous 1.42 +

+ADDED: verbose info
+
+

+ Revision 1.42 / (download) - annotate - [select for diffs] +, Mon Jul 1 18:27:42 2002 UTC (4 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.41: +25 -13 + lines
Diff to previous 1.41 +

+FIXED: unicallback not called on not shard service relogging
+
+

+ Revision 1.41 / (download) - annotate - [select for diffs] +, Tue Jun 25 09:35:58 2002 UTC (4 weeks, 6 days ago) by legros +
Branch: MAIN + +
Changes since 1.40: +17 -3 + lines
Diff to previous 1.40 +

+FIXED: getNetBase() doesn't returns disconnected sockets any longer
+
+

+ Revision 1.40 / (download) - annotate - [select for diffs] +, Wed Jun 12 10:16:34 2002 UTC (6 weeks, 5 days ago) by lecroart +
Branch: MAIN + +
Changes since 1.39: +7 -5 + lines
Diff to previous 1.39 +

+ADDED: changed NULL into InvalidSockId
+
+

+ Revision 1.39 / (download) - annotate - [select for diffs] +, Tue Jun 11 14:46:19 2002 UTC (6 weeks, 6 days ago) by legros +
Branch: MAIN + +
Changes since 1.38: +3 -1 + lines
Diff to previous 1.38 +

+FIXED: flush should not crash any longer on client callbacks
+
+

+ Revision 1.38 / (download) - annotate - [select for diffs] +, Fri May 31 08:00:09 2002 UTC (8 weeks, 3 days ago) by chafik +
Branch: MAIN + +
Changes since 1.37: +3 -1 + lines
Diff to previous 1.37 +

+#added: float & double in the createMessage procedure.
+
+

+ Revision 1.37 / (download) - annotate - [select for diffs] +, Mon May 27 16:50:50 2002 UTC (2 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.36: +123 -8 + lines
Diff to previous 1.36 +

+BUGFIX: everything to avoid problem when disconnection lag
+
+

+ Revision 1.36 / (download) - annotate - [select for diffs] +, Thu Mar 28 17:45:07 2002 UTC (4 months ago) by lecroart +
Branch: MAIN + +
CVS Tags: georges_v2 +
Changes since 1.35: +3 -2 + lines
Diff to previous 1.35 +

+BUGFIX: don't disconnect the NS if we don't use NS
+
+

+ Revision 1.35 / (download) - annotate - [select for diffs] +, Mon Mar 25 09:22:22 2002 UTC (4 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.34: +13 -13 + lines
Diff to previous 1.34 +

+CHANGED: rename callback to avoid function name conflict
+
+

+ Revision 1.34 / (download) - annotate - [select for diffs] +, Thu Mar 21 13:30:51 2002 UTC (4 months, 1 week ago) by legros +
Branch: MAIN + +
Changes since 1.33: +19 -2 + lines
Diff to previous 1.33 +

+FIXED: service lookup in getNetBase should work now (looks into _ConnectionStack as well)
+
+

+ Revision 1.33 / (download) - annotate - [select for diffs] +, Thu Mar 14 09:47:57 2002 UTC (4 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.32: +149 -2 + lines
Diff to previous 1.32 +

+ADDED: msgin and msgout command to simulate send and receive message from network
+
+

+ Revision 1.32 / (download) - annotate - [select for diffs] +, Tue Mar 12 14:12:49 2002 UTC (4 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.31: +25 -16 + lines
Diff to previous 1.31 +

+FIXED: unified network
+
+

+ Revision 1.31 / (download) - annotate - [select for diffs] +, Mon Mar 11 11:32:57 2002 UTC (4 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.30: +18 -8 + lines
Diff to previous 1.30 +

+CHANGED: getInstance() assert if CUnifiedNetwork is not initialized
+
+

+ Revision 1.30 / (download) - annotate - [select for diffs] +, Mon Feb 11 17:38:48 2002 UTC (5 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.29: +35 -3 + lines
Diff to previous 1.29 +

+FIXED: message processing now checks the validity of the service name
+
+

+ Revision 1.29 / (download) - annotate - [select for diffs] +, Thu Feb 7 17:16:22 2002 UTC (5 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.28: +27 -17 + lines
Diff to previous 1.28 +

+ADDED: can add more than one callback for service up and down
+
+

+ Revision 1.28 / (download) - annotate - [select for diffs] +, Tue Jan 22 14:08:59 2002 UTC (6 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.27: +4 -2 + lines
Diff to previous 1.27 +

+CHANGED: sleep(1)
+
+

+ Revision 1.27 / (download) - annotate - [select for diffs] +, Mon Dec 31 13:32:39 2001 UTC (6 months, 3 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.26: +36 -13 + lines
Diff to previous 1.26 +

+ADDED: the NS can shutdown/restart and resync with other services
+
+

+ Revision 1.26 / (download) - annotate - [select for diffs] +, Fri Dec 28 10:17:21 2001 UTC (7 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.25: +6 -5 + lines
Diff to previous 1.25 +

+ADDED: support of precompilated header on visual
+
+

+ Revision 1.25 / (download) - annotate - [select for diffs] +, Mon Dec 10 14:34:31 2001 UTC (7 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.24: +15 -13 + lines
Diff to previous 1.24 +

+CHANGED: net log are better specified to enable log filtering
+
+

+ Revision 1.24 / (download) - annotate - [select for diffs] +, Thu Nov 29 15:39:54 2001 UTC (7 months, 4 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.23: +38 -11 + lines
Diff to previous 1.23 +

+ADDED: update time out depending of the last update
+
+

+ Revision 1.23 / (download) - annotate - [select for diffs] +, Wed Nov 28 11:12:08 2001 UTC (7 months, 4 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.22: +3 -3 + lines
Diff to previous 1.22 +

+BUGFIX: autoretry connection crashed
+
+

+ Revision 1.22 / (download) - annotate - [select for diffs] +, Wed Nov 28 10:36:52 2001 UTC (8 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.21: +3 -4 + lines
Diff to previous 1.21 +

+BUGFIX: crash when launching/killing lot of services quickly
+
+

+ Revision 1.21 / (download) - annotate - [select for diffs] +, Tue Nov 27 17:53:12 2001 UTC (8 months ago) by legros +
Branch: MAIN + +
Changes since 1.20: +2 -2 + lines
Diff to previous 1.20 +

+FIXED: uses service id instead of service name in addService()
+
+

+ Revision 1.20 / (download) - annotate - [select for diffs] +, Tue Nov 27 17:33:07 2001 UTC (8 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.19: +35 -20 + lines
Diff to previous 1.19 +

+CHANGED: now release threads in the release()
+
+

+ Revision 1.19 / (download) - annotate - [select for diffs] +, Tue Nov 27 15:01:52 2001 UTC (8 months ago) by legros +
Branch: MAIN + +
Changes since 1.18: +167 -148 + lines
Diff to previous 1.18 +

+FIXED: layer5 secured a bit
+
+

+ Revision 1.18 / (download) - annotate - [select for diffs] +, Tue Nov 27 14:15:09 2001 UTC (8 months ago) by cado +
Branch: MAIN + +
Changes since 1.17: +5 -3 + lines
Diff to previous 1.17 +

+BUGFIX: compile on linux
+
+

+ Revision 1.17 / (download) - annotate - [select for diffs] +, Tue Nov 27 14:12:48 2001 UTC (8 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.16: +3 -4 + lines
Diff to previous 1.16 +

+#english fix (sended->sent finnish->finish)
+
+

+ Revision 1.16 / (download) - annotate - [select for diffs] +, Mon Nov 26 16:42:40 2001 UTC (8 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.15: +89 -21 + lines
Diff to previous 1.15 +

+BUGFIX: when decon->con quickly
+
+

+ Revision 1.15 / (download) - annotate - [select for diffs] +, Thu Nov 22 10:40:13 2001 UTC (8 months ago) by lecroart +
Branch: MAIN + +
Changes since 1.14: +17 -2 + lines
Diff to previous 1.14 +

+TRY: change nlSleep(10) into nlSleep(0)
+
+

+ Revision 1.14 / (download) - annotate - [select for diffs] +, Tue Nov 20 16:36:55 2001 UTC (8 months, 1 week ago) by legros +
Branch: MAIN + +
Changes since 1.13: +33 -5 + lines
Diff to previous 1.13 +

+FIXED: service id correctly set
+
+

+ Revision 1.13 / (download) - annotate - [select for diffs] +, Mon Nov 19 14:24:54 2001 UTC (8 months, 1 week ago) by legros +
Branch: MAIN + +
Changes since 1.12: +2 -2 + lines
Diff to previous 1.12 +

+FIXED: read/write accessor debugged
+
+

+ Revision 1.12 / (download) - annotate - [select for diffs] +, Mon Nov 19 14:07:45 2001 UTC (8 months, 1 week ago) by lecroart +
Branch: MAIN + +
Changes since 1.11: +9 -7 + lines
Diff to previous 1.11 +

+REMOVED: unuseful debug
+
+

+ Revision 1.11 / (download) - annotate - [select for diffs] +, Thu Nov 15 15:26:40 2001 UTC (8 months, 1 week ago) by legros +
Branch: MAIN + +
Changes since 1.10: +318 -125 + lines
Diff to previous 1.10 +

+FIXED: now works properly in multithreaded
+
+

+ Revision 1.10 / (download) - annotate - [select for diffs] +, Wed Nov 14 10:14:06 2001 UTC (8 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.9: +2 -2 + lines
Diff to previous 1.9 +

+#FIXED: char * to string&
+
+

+ Revision 1.9 / (download) - annotate - [select for diffs] +, Wed Nov 14 10:02:00 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.8: +3 -2 + lines
Diff to previous 1.8 +

+FIXED: serviceName in callbacks
+
+

+ Revision 1.8 / (download) - annotate - [select for diffs] +, Wed Nov 14 09:45:05 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.7: +19 -11 + lines
Diff to previous 1.7 +

+CHANGED: timeout reinterpreted in update(timeout)
+
+

+ Revision 1.7 / (download) - annotate - [select for diffs] +, Tue Nov 13 14:36:18 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.6: +7 -4 + lines
Diff to previous 1.6 +

+FIXED: appId() correctly set now a relog (after a service crash and autoRetry)
+
+

+ Revision 1.6 / (download) - annotate - [select for diffs] +, Tue Nov 13 13:05:58 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.5: +54 -20 + lines
Diff to previous 1.5 +

+FIXED: connection is a bit more secured, auto retry should work properly now
+
+

+ Revision 1.5 / (download) - annotate - [select for diffs] +, Tue Nov 13 11:58:42 2001 UTC (8 months, 2 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.4: +6 -1 + lines
Diff to previous 1.4 +

+ADDED: comment
+
+

+ Revision 1.4 / (download) - annotate - [select for diffs] +, Tue Nov 13 10:53:46 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.3: +7 -1 + lines
Diff to previous 1.3 +

+FIXED: "*" properly handled for service up/down
+
+

+ Revision 1.3 / (download) - annotate - [select for diffs] +, Mon Nov 12 10:21:21 2001 UTC (8 months, 2 weeks ago) by legros +
Branch: MAIN + +
Changes since 1.2: +23 -1 + lines
Diff to previous 1.2 +

+ADDED: callbacks for all up/down service
+
+

+ Revision 1.2 / (download) - annotate - [select for diffs] +, Mon Oct 29 18:33:29 2001 UTC (8 months, 4 weeks ago) by lecroart +
Branch: MAIN + +
Changes since 1.1: +5 -1 + lines
Diff to previous 1.1 +

+ADDED: isUsed()
+
+

+ Revision 1.1 / (download) - annotate - [select for diffs] +, Tue Oct 16 09:23:04 2001 UTC (9 months, 1 week ago) by legros +
Branch: MAIN + +
Diff

+New hi level network protocol
+
+ + + + + +
Request Diffs
+

+

+

+ +Diffs between + + + and + + +
Type of Diff should be a  +
+ + + + + +
Select branch
+

+

+ +

+ +View only Branch: + + +
+ +
+ +Sort log by: + + +
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1