Descent3/netcon/mtclient/mt_net.h
Azamat H. Hackimov 7a9f2e2e19 Minor fixes to PXO module
Removing unused headers, code cleanup and enhancements.
2024-06-03 16:20:42 +03:00

54 lines
1.5 KiB
C

/*
* Descent 3
* Copyright (C) 2024 Parallax Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
--- HISTORICAL COMMENTS FOLLOW ---
* $Logfile: /DescentIII/Main/mtclient/mt_net.h $
* $Revision: 1.1.1.1 $
* $Date: 2003-08-26 03:58:40 $
* $Author: kevinb $
*
* Mastertracker network code
*
* $Log: not supported by cvs2svn $
*
* 3 12/23/98 6:38p Kevin
* All UDP data (except gamespy) now uses one (registered) port number
*
* 2 6/01/98 10:10a Kevin
* Added DLL connection interface and auto update DLL
*
* 1 5/21/98 11:21a Kevin
*
* $NoKeywords: $
*/
// Sends a packet to the game tracker
int SendGameTrackerPacker(void *packet);
// Checks for an incoming game tracker packet.
int ReceiveGameTracker(void *packet);
void InitMTSockets();
void CloseMTSockets();
int ReceivePilotTracker(void *packet);
int SendPilotTrackerPacket(void *packet);
#define PXO_NETID_GAME_TRACKER 3
#define PXO_NETID_USER_TRACKER 4