network_udp.h
author tron
Thu, 14 Jul 2005 06:10:23 +0000
changeset 2054 e313dd080bd3
parent 1329 a8a0d60b0a8e
child 2186 461a2aff3486
permissions -rw-r--r--
(svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail
#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 */