Add Multicast capabilities for LAN server scanning.

This commit is contained in:
Thilo Schulz 2008-04-09 14:37:42 +00:00
parent 32bd0ab5bd
commit eb3b59308b
10 changed files with 351 additions and 153 deletions

View file

@ -921,6 +921,18 @@ char *Q_CleanStr( char *string ) {
return string;
}
int Q_CountChar(const char *string, char tocount)
{
int count;
for(count = 0; *string; string++)
{
if(*string == tocount)
count++;
}
return count;
}
void QDECL Com_sprintf( char *dest, int size, const char *fmt, ...) {
int len;