From: Carsten W. <ca...@us...> - 2004-10-17 20:20:26
|
Update of /cvsroot/jake2/jake2/src/jake2/sys In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv964/src/jake2/sys Modified Files: NET.java Log Message: reformat (java conventions) Index: NET.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/sys/NET.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NET.java 9 Jul 2004 06:50:47 -0000 1.2 --- NET.java 17 Oct 2004 20:20:09 -0000 1.3 *************** *** 1,27 **** /* ! * NET.java ! * Copyright (C) 2003 * * $Id$ */ /* ! Copyright (C) 1997-2001 Id Software, Inc. ! ! This program is free software; you can redistribute it and/or [...1345 lines suppressed...] ! //ip_sockets[NS_SERVER]. ! ! // this should wait up to 100ms until a packet ! /* ! * struct timeval timeout; fd_set fdset; extern cvar_t *dedicated; ! * extern qboolean stdin_active; ! * ! * if (!ip_sockets[NS_SERVER] || (dedicated && !dedicated.value)) ! * return; // we're not a server, just run full speed ! * ! * FD_ZERO(&fdset); if (stdin_active) FD_SET(0, &fdset); // stdin is ! * processed too FD_SET(ip_sockets[NS_SERVER], &fdset); // network ! * socket timeout.tv_sec = msec/1000; timeout.tv_usec = ! * (msec%1000)*1000; select(ip_sockets[NS_SERVER]+1, &fdset, NULL, NULL, ! * &timeout); ! */ ! } ! ! } \ No newline at end of file |