From: havoc Date: Wed, 15 Mar 2006 00:42:48 +0000 (+0000) Subject: added LAN search for quakeworld servers X-Git-Tag: xonotic-v0.1.0preview~4204 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e67e148d036ec886131914d5f73b46190bc2ab7;p=xonotic%2Fdarkplaces.git added LAN search for quakeworld servers git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6114 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/netconn.c b/netconn.c index 4a6ea050..039f7e1f 100755 --- a/netconn.c +++ b/netconn.c @@ -2286,6 +2286,9 @@ void NetConn_QueryMasters(qboolean querydp, qboolean queryqw) { if (cl_sockets[i]) { + // search LAN for QuakeWorld servers + NetConn_WriteString(cl_sockets[i], "\377\377\377\377status\n", &broadcastaddress); + // build the getservers message to send to the qwmaster master servers // note this has no -1 prefix, and the trailing nul byte is sent dpsnprintf(request, sizeof(request), "c\n");