From 4e67e148d036ec886131914d5f73b46190bc2ab7 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 15 Mar 2006 00:42:48 +0000 Subject: [PATCH] added LAN search for quakeworld servers git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6114 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.39.2