3 Star 28 Fork 0

whb-helloworld/104期

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
util.hpp 413 Bytes
一键复制 编辑 原始数据 按行查看 历史
gitTest-比特科技 提交于 2023-01-06 12:41 +08:00 . 序列号反序列化代码
#pragma once
#include <iostream>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include <ctype.h>
#include <unistd.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "log.hpp"
#define SOCKET_ERR 1
#define BIND_ERR 2
#define LISTEN_ERR 3
#define USAGE_ERR 4
#define CONN_ERR 5
#define BUFFER_SIZE 1024
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/whb-helloworld/phase-104.git
git@gitee.com:whb-helloworld/phase-104.git
whb-helloworld
phase-104
104期
master

搜索帮助