📄 tcp_socket.h
字号:
/********************************************************************
* NAME : TCP_socket.h
* FUNCTION : socket communication (unix) library
* AUTHOR : ZZ_NODE/2000.12.15/songqufei
* OS : solaris
********************************************************************/
#ifndef __TCP_SOCKET_H__
#define __TCP_SOCKET_H__
/********************************************************************
* INCLUDE FILES
********************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <netdb.h>
#include <sys/stropts.h>
#include <sys/filio.h>
#include "IP_packet.h"
/********************************************************************
* external variables
********************************************************************/
#define LISTENQUEUE 5
/********************************************************************
* external function
********************************************************************/
extern int TCP_ListenForConnection( char *serviceName ) ;
extern int TCP_DoAccept(int sd );
#endif /* __TCP_SOCKET_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -