mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
Use different accept handlers for TCP and unix socket connections
This commit is contained in:
@ -43,7 +43,8 @@ int anetRead(int fd, char *buf, int count);
|
||||
int anetResolve(char *err, char *host, char *ipbuf);
|
||||
int anetTcpServer(char *err, int port, char *bindaddr);
|
||||
int anetUnixServer(char *err, char *path);
|
||||
int anetAccept(char *err, int serversock, char *ip, int *port);
|
||||
int anetTcpAccept(char *err, int serversock, char *ip, int *port);
|
||||
int anetUnixAccept(char *err, int serversock, char *path, int len);
|
||||
int anetWrite(int fd, char *buf, int count);
|
||||
int anetNonBlock(char *err, int fd);
|
||||
int anetTcpNoDelay(char *err, int fd);
|
||||
|
Reference in New Issue
Block a user