X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/04a2ade90dd15db2a1e685e2e045b8c0181b9eea..40531be0e338556df5510f49f4472ea50713962f:/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