network_udp.h
author celestar
Wed, 12 Jan 2005 22:09:21 +0000
changeset 995 96e9f70280d7
parent 774 258c11431acb
child 1329 a8a0d60b0a8e
permissions -rw-r--r--
(svn r1493) -Codechange: Removed redundancy in the order GUI. Currently we had most
of the code written 4 - 8 times in the code.
This currently causes the "non-stop" button to appear for all
vehicles, which is disabled all the time. Don't report this as a bug
please.
This is (hopefully) the first patch in a joint effort to simplify
the order system
#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 */