tcp_os2.h

来自「这是用C编写IMAP源代码」· C头文件 代码 · 共 44 行

H
44
字号
/* * Program:	MS-DOS TCP/IP routines * * Author:	Mark Crispin *		Networks and Distributed Computing *		Computing & Communications *		University of Washington *		Administration Building, AG-44 *		Seattle, WA  98195 *		Internet: MRC@CAC.Washington.EDU * * Date:	11 April 1989 * Last Edited:	24 October 2000 *  * The IMAP toolkit provided in this Distribution is * Copyright 2000 University of Washington. * The full text of our legal notices is contained in the file called * CPYRIGHT, included with this Distribution. *//* TCP input buffer -- must be large enough to prevent overflow */#define BUFLEN 8192/* TCP I/O stream (must be before osdep.h is included) */#define TCPSTREAM struct tcp_streamTCPSTREAM {  char *host;			/* host name */  unsigned long port;		/* port number */  char *localhost;		/* local host name */  int tcps;			/* tcp socket */  long ictr;			/* input counter */  char *iptr;			/* input pointer */  char ibuf[BUFLEN];		/* input buffer */};/* Local function prototypes */long lookuphost (char **host,struct sockaddr_in *sin);long tcp_abort (TCPSTREAM *stream);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?