代码拉取完成,页面将自动刷新
#pragma once
#include <stdio.h>
#include <errno.h>
#include <sys/time.h>
#define SERVER_PORT 8366
#define SEND_BLOCK_SIZE 1024
#define SEND_BLOCK_NUM 4096
#define SERVER_SEND_INVL_USEC 10000
#define CLIENT_HDLE_INVL_USEC 40000
#define SOCKET_WIN_SIZE 4096
#define PRINTF(fmt, ...) do{\
struct timeval now;\
gettimeofday(&now, NULL);\
printf("E {line %d}[%ld.%ld]: " fmt "\n", __LINE__, now.tv_sec, now.tv_usec / 1000, ##__VA_ARGS__);\
} while(0)
#define PERROR() printf("E {line %d}[%d]: %s\n", __LINE__, errno, strerror(errno))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。