}
qw;
+ // this tracks which of the last 100 received packet sequence numbers were lost
+ int packetlostcounter;
+ unsigned char packetlost[100];
+
char address[128];
} netconn_t;
extern qboolean serverlist_consoleoutput;
-#if !defined(_WIN32) && !defined(__linux__) && !defined(SUNOS)
-#ifndef htonl
-extern unsigned long htonl (unsigned long hostlong);
-#endif
-#ifndef htons
-extern unsigned short htons (unsigned short hostshort);
-#endif
-#ifndef ntohl
-extern unsigned long ntohl (unsigned long netlong);
-#endif
-#ifndef ntohs
-extern unsigned short ntohs (unsigned short netshort);
-#endif
-#endif
-
//============================================================================
//
// public network functions