Allow for broadcast reception, so users can see all currently running SMLAN servers on a network easily. This code may be very active in the next few days depending on bugs we find.

This commit is contained in:
Charles Lohr
2005-11-30 04:04:21 +00:00
parent cf46864b1a
commit bc1b00e437
5 changed files with 89 additions and 2 deletions
+1
View File
@@ -1001,6 +1001,7 @@ void StepManiaLanServer::BroadcastInfo()
{
PacketFunctions Binfo;
Binfo.ClearPacket();
Binfo.Write1( 141 ); //Code 13 + 128
Binfo.WriteNT( servername );
Binfo.Write2( 8765 );
Binfo.Write2( Client.size() );