tcpidle.c
来自「TCP-IP红宝书源代码」· C语言 代码 · 共 18 行
C
18 行
/* tcpidle.c - tcpidle */
#include <conf.h>
#include <kernel.h>
#include <network.h>
/*------------------------------------------------------------------------
* tcpidle - handle events while a connection is idle
*------------------------------------------------------------------------
*/
int
tcpidle(int tcbnum, int event)
{
if (event == SEND)
tcpxmit(tcbnum, event);
return OK;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?