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