uici.h

来自「xtunnel nat/fw traversal source code」· C头文件 代码 · 共 43 行

H
43
字号
/*	File:       uici.h	Contains:   Universal Internet Communication Interface TCP functions				from _Unix System Programming_, Robbins & Robbins	Copyright:  (c) 2003 by Xten Networks, Inc., all rights reserved.*/#ifdef __MWERKS__#pragma once#endif // __MWERKS__#ifndef UICI_H_B4B7EA1D_6605_4247_B8D3_BB770ECE6762_#define UICI_H_B4B7EA1D_6605_4247_B8D3_BB770ECE6762_ 1#define UPORT#if defined(__cplusplus)extern "C" {#endif //_cplusplustypedef unsigned short u_port_t;int u_open(u_port_t port);// only accepts connections from localhostint u_open_local(u_port_t port);// hostn and outAddr may be NULLint u_accept(int fd, char *hostn, int hostnsize, struct	sockaddr_in* outAddr);int u_connect(u_port_t port, char *hostn);#if defined(__cplusplus)}#endif //_cplusplus#endif // UICI_H_B4B7EA1D_6605_4247_B8D3_BB770ECE6762_

⌨️ 快捷键说明

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