network_udp.h
author truelight
Fri, 04 Feb 2005 14:45:32 +0000
changeset 1283 b9569cc0644f
parent 774 258c11431acb
child 1329 a8a0d60b0a8e
permissions -rw-r--r--
(svn r1787) -Add: Dynamic signs (euh.. yeah, this means you can built 64k signs)
#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 byte* host, unsigned short port);
void NetworkUDPAdvertise(void);
void NetworkUDPRemoveAdvertise(void);

#endif

#endif /* NETWORK_LAN_H */