summaryrefslogtreecommitdiff
path: root/include/client.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-24 15:56:36 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-24 15:56:36 +0000
commit826a768318d071200b289ed3a93ee409759dbae3 (patch)
tree3b3ade45833382db74ab0cb33d8d4327da672bfc /include/client.h
parent13064d1bfc0459be37d8229f3f8c037fb8a10b8f (diff)
- podpora IPv6
- game server je schopny obsluhovat clientov zo sieti IPv4 a IPv6 sucastne - hrac si moze zvolit v nastaveniach, ci che pouzivat IPv4 alebo IPv6 - odkolnenie od SDL_net ( nepodporuje IPv6 ) // ale v kode este podpora SDL_Net je git-svn-id: http://opensvn.csie.org/tuxanci_ng@70 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/client.h')
-rw-r--r--include/client.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/client.h b/include/client.h
index fe28eed..cd8c4c4 100644
--- a/include/client.h
+++ b/include/client.h
@@ -12,14 +12,8 @@
#endif
-#ifdef SUPPORT_NET_UNIX_TCP
-extern int initTcpClient(char *ip, int port);
-extern void selectClientTcpSocket();
-extern void quitTcpClient();
-#endif
-
#ifdef SUPPORT_NET_UNIX_UDP
-extern int initUdpClient(char *ip, int port);
+extern int initUdpClient(char *ip, int port, int proto);
extern void eventPingServer();
extern void selectClientUdpSocket();
extern void refreshPingServerAlive();