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

Comparing deliantra/server/socket/init.C (file contents):
Revision 1.17 by root, Thu Dec 14 20:39:54 2006 UTC vs.
Revision 1.18 by root, Thu Dec 14 21:46:34 2006 UTC

106 * this face. Face 0 is sent to the client to say clear 106 * this face. Face 0 is sent to the client to say clear
107 * face information. 107 * face information.
108 */ 108 */
109 faces_sent[0] = NS_FACESENT_FACE; 109 faces_sent[0] = NS_FACESENT_FACE;
110 110
111 socket_ev.fd (fd).poll (PE_W).start (); 111 socket_ev.fd (fd);
112 112
113 // initialisation done, kick it! 113 // initialisation done, kick it!
114 114
115 { 115 {
116 packet sl; 116 packet sl;
117 sl.printf ("version %d %d %s\n", VERSION_CS, VERSION_SC, VERSION_INFO); 117 sl.printf ("version %d %d %s\n", VERSION_CS, VERSION_SC, VERSION_INFO);
118 send_packet (sl); 118 send_packet (sl);
119 flush ();
119 } 120 }
120 121
121#if 0//TODO 122#if 0//TODO
122 socket_info.nconns++; 123 socket_info.nconns++;
123 if (socket_info.nconns > cst_tot.max_conn) cst_tot.max_conn = socket_info.nconns; 124 if (socket_info.nconns > cst_tot.max_conn) cst_tot.max_conn = socket_info.nconns;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines