亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? socket.h

?? mgcp協議源代碼。支持多種編碼:g711
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * socket.h * * Berkley Socket channel ancestor class. * * Portable Windows Library * * Copyright (c) 1993-1998 Equivalence Pty. Ltd. * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. * * The Original Code is Portable Windows Library. * * The Initial Developer of the Original Code is Equivalence Pty. Ltd. * * Portions are Copyright (C) 1993 Free Software Foundation, Inc. * All Rights Reserved. * * Contributor(s): ______________________________________. * * $Log: socket.h,v $ * Revision 1.34  2000/06/26 13:58:42  robertj * Nucleus port (again) * * Revision 1.33  2000/06/26 11:17:19  robertj * Nucleus++ port (incomplete). * * Revision 1.32  2000/02/18 09:55:21  robertj * Added parameter so get/setsockopt can have other levels to SOL_SOCKET. * * Revision 1.31  1999/03/09 02:59:51  robertj * Changed comments to doc++ compatible documentation. * * Revision 1.30  1999/02/16 08:11:10  robertj * MSVC 6.0 compatibility changes. * * Revision 1.29  1998/11/30 02:51:58  robertj * New directory structure * * Revision 1.28  1998/09/23 06:21:25  robertj * Added open source copyright license. * * Revision 1.27  1998/08/27 00:46:58  robertj * Resolved signedness problems with various GNU libraries. * * Revision 1.26  1998/08/25 14:07:42  robertj * Added getprotobyxxx wrapper functions. * * Revision 1.25  1998/01/26 00:35:21  robertj * Fixed documentation of PSocket::Select(). * * Revision 1.24  1996/09/14 13:09:24  robertj * Major upgrade: *   rearranged sockets to help support IPX. *   added indirect channel class and moved all protocols to descend from it, *   separating the protocol from the low level byte transport. * * Revision 1.23  1996/07/27 04:14:00  robertj * Changed Select() calls to return error codes. * * Revision 1.22  1996/05/15 10:11:38  robertj * Added timeout to accept function. * * Revision 1.21  1996/03/31 08:52:36  robertj * Added socket shutdown function. * * Revision 1.20  1996/03/18 13:33:12  robertj * Fixed incompatibilities to GNU compiler where PINDEX != int. * * Revision 1.19  1996/03/03 07:37:58  robertj * Added Reusability clause to the Listen() function on sockets. * * Revision 1.18  1996/03/02 03:10:18  robertj * Added Apability to get and set Berkeley socket options. * * Revision 1.17  1996/02/25 03:02:14  robertj * Moved some socket functions to platform dependent code. * Added array of fds to os_select for unix threading support. * * Revision 1.16  1996/02/15 14:46:43  robertj * Added Select() function to PSocket. * * Revision 1.15  1995/12/23 03:46:54  robertj * Fixed portability issue with closingh sockets. * * Revision 1.14  1995/12/10 11:35:21  robertj * Numerous fixes for sockets. * * Revision 1.13  1995/10/14 15:05:54  robertj * Added functions for changing integer from host to network byte order. * * Revision 1.12  1995/06/17 11:13:25  robertj * Documentation update. * * Revision 1.11  1995/06/17 00:44:35  robertj * More logical design of port numbers and service names. * Changed overloaded Open() calls to 3 separate function names. * * Revision 1.10  1995/06/04 12:36:37  robertj * Slight redesign of port numbers on sockets. * * Revision 1.9  1995/03/14 12:42:39  robertj * Updated documentation to use HTML codes. * * Revision 1.8  1995/03/12  04:45:40  robertj * Added more functionality. * * Revision 1.7  1995/01/03  09:36:19  robertj * Documentation. * * Revision 1.6  1995/01/02  12:16:17  robertj * Moved constructor to platform dependent code. * * Revision 1.5  1994/08/23  11:32:52  robertj * Oops * * Revision 1.4  1994/08/22  00:46:48  robertj * Added pragma fro GNU C++ compiler. * * Revision 1.3  1994/08/21  23:43:02  robertj * Changed type of socket port number for better portability. * * Revision 1.2  1994/07/25  03:36:03  robertj * Added sockets to common, normalising to same comment standard. * */#define _PSOCKET#ifdef __GNUC__#pragma interface#endif#ifndef _PCHANNEL#include <ptlib/channel.h>#endif#ifdef __NUCLEUS_PLUS__#include <sys/socket.h>#endifclass PSocket;PLIST(PSocketList, PSocket);/**A network communications channel. This is based on the concepts in the   Berkley Sockets library.      A socket represents a bidirectional communications channel to a {\it port}   at a remote {\it host}. */class PSocket : public PChannel{  PCLASSINFO(PSocket, PChannel);  protected:    PSocket();  public:  /**@name Socket establishment functions */  //@{    /**Connect a socket to a remote host on the specified port number. This is       typically used by the client or initiator of a communications channel.       This connects to a "listening" socket at the other end of the       communications channel.       @return       TRUE if the channel was successfully connected to the remote host.     */    virtual BOOL Connect(      const PString & address   /// Address of remote machine to connect to.    );    /// Flags to reuse of port numbers in Listen() function.    enum Reusability {      CanReuseAddress,      AddressIsExclusive    };    /**Listen on a socket for a remote host on the specified port number. This       may be used for server based applications. A "connecting" socket begins       a connection by initiating a connection to this socket. An active socket       of this type is then used to generate other "accepting" sockets which       establish a two way communications channel with the "connecting" socket.       If the #port# parameter is zero then the port number as       defined by the object instance construction or the descendent classes       SetPort() or SetService() function.       @return       TRUE if the channel was successfully opened.     */    virtual BOOL Listen(      unsigned queueSize = 5,  /// Number of pending accepts that may be queued.      WORD port = 0,           /// Port number to use for the connection.      Reusability reuse = AddressIsExclusive /// Can/Cant listen more than once.    );    /**Open a socket to a remote host on the specified port number. This is an       "accepting" socket. When a "listening" socket has a pending connection       to make, this will accept a connection made by the "connecting" socket       created to establish a link.       The port that the socket uses is the one used in the #Listen()#       command of the #socket# parameter. Note an error occurs if       the #socket# parameter has not had the #Listen()#       function called on it.       Note that this function will block until a remote system connects to the       port number specified in the "listening" socket. The time that the       function will block is determined by the read timeout of the       #socket# parameter. This will normally be       #PMaxTimeInterval# which indicates an infinite time.       The default behaviour is to assert.       @return       TRUE if the channel was successfully opened.     */    virtual BOOL Accept(      PSocket & socket          /// Listening socket making the connection.    );    /**Close one or both of the data streams associated with a socket        @return       TRUE if the shutdown was performed     */    virtual BOOL Shutdown(      ShutdownValue option   /// Flag for shutdown of read, write or both.    );  //@}  /**@name Socket options functions */  //@{    /**Set options on the socket. These options are defined as Berkeley socket       options of the class SOL_SOCKET.       @return       TRUE if the option was successfully set.     */    BOOL SetOption(      int option,             /// Option to set.      int value,              /// New value for option.      int level = SOL_SOCKET  /// Level for option    );    /**Set options on the socket. These options are defined as Berkeley socket       options of the class SOL_SOCKET.       @return       TRUE if the option was successfully set.     */    BOOL SetOption(      int option,             /// Option to set.      const void * valuePtr,  /// Pointer to new value for option.      PINDEX valueSize,       /// Size of new value.      int level = SOL_SOCKET  /// Level for option    );    /**Get options on the socket. These options are defined as Berkeley socket       options of the class SOL_SOCKET.       @return       TRUE if the option was successfully retreived.     */    BOOL GetOption(      int option,             /// Option to get.      int & value,            /// Integer to receive value.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久精品一区| 成人精品gif动图一区| 一区二区三区在线观看国产| 日韩一区欧美小说| 亚洲欧洲在线观看av| 亚洲欧美另类小说视频| 亚洲欧美色图小说| 亚洲精品国产a久久久久久| 亚洲精品成人悠悠色影视| 亚洲成人动漫在线免费观看| 日韩高清在线不卡| 久草在线在线精品观看| 国产精品一区二区你懂的| 成人av综合在线| 欧美私模裸体表演在线观看| 7777精品伊人久久久大香线蕉经典版下载 | 成人黄色免费短视频| 99精品在线免费| 欧美性受xxxx黑人xyx| 欧美三级一区二区| 91麻豆精品久久久久蜜臀| 久久众筹精品私拍模特| 欧美韩国日本不卡| 亚洲一区日韩精品中文字幕| 麻豆国产欧美日韩综合精品二区| 国产在线精品一区二区| 91在线播放网址| 欧美高清视频一二三区| 日韩免费观看高清完整版在线观看| 欧美一区二区三区视频免费播放| 久久久久亚洲蜜桃| 亚洲激情图片一区| 国产麻豆日韩欧美久久| 91福利社在线观看| 精品国产乱码久久久久久牛牛| 亚洲欧洲一区二区在线播放| 奇米精品一区二区三区四区| 成人国产精品视频| 欧美电影免费观看高清完整版在线观看 | 日韩成人伦理电影在线观看| 国产成a人亚洲| 欧美日韩一区精品| 国产精品福利影院| 麻豆精品在线视频| 欧美中文字幕一区二区三区 | av日韩在线网站| 日韩欧美综合一区| 亚洲精品乱码久久久久久黑人| 蜜臀99久久精品久久久久久软件| 97超碰欧美中文字幕| 久久久99精品免费观看不卡| 日韩精品亚洲专区| 欧洲av一区二区嗯嗯嗯啊| 国产日韩av一区| 日本中文字幕一区| 91福利精品视频| 一区免费观看视频| 成人成人成人在线视频| 久久免费国产精品| 男女视频一区二区| 欧美一级免费观看| 午夜视频一区在线观看| 在线免费精品视频| 亚洲精品一二三区| 91蜜桃免费观看视频| 国产精品久久久久久久午夜片 | 美女视频黄免费的久久| 欧美中文字幕一二三区视频| 最新不卡av在线| 成人理论电影网| 国产精品毛片无遮挡高清| 国产激情一区二区三区| 欧美极品aⅴ影院| 国产乱子轮精品视频| 久久久久久99久久久精品网站| 老司机午夜精品| 欧美xxxxx裸体时装秀| 玖玖九九国产精品| 久久久久九九视频| 国产成人免费视频网站| 欧美国产1区2区| 99久久99久久精品免费看蜜桃| 国产精品久久久一本精品 | 国产a视频精品免费观看| 久久久国产精品不卡| 国产成人鲁色资源国产91色综| 久久久久久久久久美女| av高清不卡在线| 亚洲自拍偷拍麻豆| 制服丝袜中文字幕一区| 国内不卡的二区三区中文字幕 | 一本大道av一区二区在线播放| 亚洲婷婷综合色高清在线| 色综合久久九月婷婷色综合| 亚洲一区二区三区在线看| 欧美一区二区三区视频在线观看| 狂野欧美性猛交blacked| 国产日韩精品一区| 欧美亚州韩日在线看免费版国语版| 一区二区三区不卡视频| 精品区一区二区| 成人avav在线| 日韩不卡一区二区三区| 国产欧美日韩卡一| 色综合一区二区| 免费成人在线观看| 亚洲国产精品二十页| 欧美在线色视频| 国产资源在线一区| 一区二区三区欧美视频| 精品福利一区二区三区| 99在线热播精品免费| 美腿丝袜亚洲三区| 亚洲少妇30p| 欧美精品一区二区三区蜜桃视频 | 国产精品一二三在| 亚洲精品视频在线观看免费| 26uuu成人网一区二区三区| 在线看国产一区| 国产不卡视频在线观看| 日韩精品国产精品| 国产精品久久久久久久久免费丝袜| 欧美日韩高清一区二区不卡| 国产成人免费在线视频| 五月综合激情婷婷六月色窝| 亚洲日本欧美天堂| 久久无码av三级| 欧美精品在线视频| 色天使色偷偷av一区二区| 国产电影精品久久禁18| 日本欧美大码aⅴ在线播放| 伊人性伊人情综合网| 国产精品久久久久久久久快鸭| 2020国产成人综合网| 日韩视频中午一区| 欧美久久久一区| 精品视频色一区| 欧美亚洲免费在线一区| 99国产精品久久久久久久久久久| 国产乱码字幕精品高清av| 男人的j进女人的j一区| 日韩精品亚洲专区| 日本最新不卡在线| 五月天激情小说综合| 亚洲成人动漫在线免费观看| 亚洲午夜精品17c| 一区二区三区色| 亚洲一二三四久久| 亚洲国产欧美日韩另类综合 | 欧美精品久久一区二区三区| 欧美日韩精品一区二区在线播放| 北岛玲一区二区三区四区 | 亚洲国产日韩一区二区| 亚洲欧美色综合| 亚洲综合清纯丝袜自拍| 亚洲一区二区三区美女| 亚洲午夜激情av| 日本美女一区二区| 久久精品国产久精国产| 国产在线精品不卡| 成人av在线一区二区三区| 91片黄在线观看| 欧美中文字幕亚洲一区二区va在线 | 久久久影院官网| 国产欧美一区二区精品婷婷| 日本一区二区成人在线| 亚洲视频综合在线| 亚洲成人av在线电影| 蜜臀久久99精品久久久久宅男| 狠狠色丁香久久婷婷综| 成人av网站大全| 欧美亚洲另类激情小说| 日韩精品一区二区三区四区视频| 久久久欧美精品sm网站| 亚洲欧美一区二区三区久本道91| 亚洲一区二区三区四区五区黄| 美国十次综合导航| 丁香一区二区三区| 在线日韩av片| 精品嫩草影院久久| 亚洲欧美色综合| 麻豆成人久久精品二区三区小说| 成人激情小说乱人伦| 欧美乱妇15p| 亚洲国产精品精华液ab| 亚洲电影在线免费观看| 国产精一品亚洲二区在线视频| 色婷婷久久久久swag精品| 欧美变态tickle挠乳网站| 中文字幕一区二区在线观看| 奇米四色…亚洲| 99re这里只有精品首页| 欧美精品一区二区三区一线天视频| √…a在线天堂一区| 另类专区欧美蜜桃臀第一页| 91久久线看在观草草青青| 久久久久久久久99精品| 午夜在线电影亚洲一区| 成人福利视频在线| 日韩精品一区二区三区在线播放|