📄 socket.h
字号:
/* * Unfortunately, <wingdi.h> of VC++ also defines ERROR. * To avoid the conflict, we include <windows.h> here and undefine ERROR * immediately. * * Note: Don't include <wingdi.h> directly. It causes compile errors. */#include <ws2tcpip.h>#include <winsock2.h>#undef ERROR#undef small/* Restore old ERROR value */#ifdef PGERROR#define ERROR PGERROR/* * we can't use the windows gai_strerror{AW} functions because * they are defined inline in the MS header files. So we'll use our * own */#undef gai_strerror#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -