network_udp.h
author tron
Sun, 28 Aug 2005 14:45:44 +0000
changeset 2374 e4443eab6293
parent 2186 db48cf29b983
child 2436 7d5df545bd5d
permissions -rw-r--r--
(svn r2900) Fix a bug, which incremented the counter of a loop twice and therefore calculated wrong argument indices
/* $Id$ */

#ifndef NETWORK_LAN_H
#define NETWORK_LAN_H

#ifdef ENABLE_NETWORK

void NetworkUDPInitialize(void);
bool NetworkUDPListen(SOCKET *udp, uint32 host, uint16 port, bool broadcast);
void NetworkUDPReceive(SOCKET udp);
void NetworkUDPSearchGame(void);
void NetworkUDPQueryMasterServer(void);
NetworkGameList *NetworkUDPQueryServer(const char* host, unsigned short port);
void NetworkUDPAdvertise(void);
void NetworkUDPRemoveAdvertise(void);

#endif

#endif /* NETWORK_LAN_H */