X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/65b472acceaf1c359ae22a410fc608c5fb311ffa..da386cdf337a79b6734b58d3c5e426741e49c043:/src/anet.h diff --git a/src/anet.h b/src/anet.h index 118b4dda..2b2dea45 100644 --- a/src/anet.h +++ b/src/anet.h @@ -53,5 +53,6 @@ int anetWrite(int fd, char *buf, int count); int anetNonBlock(char *err, int fd); int anetTcpNoDelay(char *err, int fd); int anetTcpKeepAlive(char *err, int fd); +int anetPeerToString(int fd, char *ip, int *port); #endif