diff options
author | fcolin | 2009-10-06 15:37:04 +0000 |
---|---|---|
committer | fcolin | 2009-10-06 15:37:04 +0000 |
commit | 2e00e0151fc0648e7dc5a1eb348610da1633a4cd (patch) | |
tree | e22e2017b35638852ed8772bd6163a6131e40be7 /src/ivysocket.h | |
parent | 8f86104d18dd95c54d41b1d0eac21b2bb1f30d39 (diff) | |
download | ivy-c-2e00e0151fc0648e7dc5a1eb348610da1633a4cd.zip ivy-c-2e00e0151fc0648e7dc5a1eb348610da1633a4cd.tar.gz ivy-c-2e00e0151fc0648e7dc5a1eb348610da1633a4cd.tar.bz2 ivy-c-2e00e0151fc0648e7dc5a1eb348610da1633a4cd.tar.xz |
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
Diffstat (limited to 'src/ivysocket.h')
-rw-r--r-- | src/ivysocket.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, ... ); |