From 2e00e0151fc0648e7dc5a1eb348610da1633a4cd Mon Sep 17 00:00:00 2001 From: fcolin Date: Tue, 6 Oct 2009 15:37:04 +0000 Subject: correction des problemes de connection multiple et de l'emission du message ready on d'uigne, et les suivantes ci-dessous, seront ignorées-- M ivysocket.c M ivysocket.h M ivy.c --- src/ivysocket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ivysocket.h') diff --git a/src/ivysocket.h b/src/ivysocket.h index df43303..8096084 100644 --- a/src/ivysocket.h +++ b/src/ivysocket.h @@ -109,6 +109,9 @@ extern void SocketSetUuid (Client client, const char *uuid); extern const char* SocketGetUuid (const Client client); extern int SocketCmpUuid (const Client c1, const Client c2); extern void SocketGetRemoteHost (Client client, char **host, unsigned short *port ); + +extern unsigned short int SocketGetLocalPort ( Client client ); +extern unsigned short int SocketGetRemotePort ( Client client ); /* emmission d'un broadcast UDP */ extern void SocketSendBroadcast( Client client, unsigned long host, unsigned short port, char *fmt, ... ); -- cgit v1.1