0 Star 22 Fork 36

SunStrider/redis-3.0-annotated-cmake-in-clion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
my_anet.h 313 Bytes
一键复制 编辑 原始数据 按行查看 历史
SunStrider 提交于 5年前 . socket listen相关demo
#ifndef ANET_H
#define ANET_H
#define ANET_OK 0
#define ANET_ERR -1
#define ANET_ERR_LEN 256
/* Flags used with certain functions. */
#define ANET_NONE 0
#define ANET_IP_ONLY (1<<0)
#if defined(__sun)
#define AF_LOCAL AF_UNIX
#endif
int anetTcpServer(char *err, int port, char *bindaddr, int backlog);
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dumpcao/redis-3.0-annotated-cmake-in-clion.git
git@gitee.com:dumpcao/redis-3.0-annotated-cmake-in-clion.git
dumpcao
redis-3.0-annotated-cmake-in-clion
redis-3.0-annotated-cmake-in-clion
master

搜索帮助