亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美写真视频网站| 韩国成人在线视频| 91老师片黄在线观看| 久久久99精品久久| 国产白丝网站精品污在线入口| 久久综合色天天久久综合图片| 蜜臂av日日欢夜夜爽一区| 在线电影欧美成精品| 午夜在线电影亚洲一区| 欧美美女黄视频| 亚洲免费观看在线观看| 91在线视频播放| 伊人婷婷欧美激情| 欧美日韩精品二区第二页| 亚洲天堂av一区| 色老头久久综合| 五月婷婷综合网| 日韩精品最新网址| 丁香六月综合激情| 亚洲欧美激情小说另类| 欧美久久久久久蜜桃| 日本人妖一区二区| 国产午夜精品一区二区三区四区 | 亚洲综合激情网| 欧美军同video69gay| 日韩成人一级片| 久久亚洲影视婷婷| jiyouzz国产精品久久| 中文字幕在线视频一区| 在线观看日韩一区| 美腿丝袜亚洲三区| 中文欧美字幕免费| 欧美日韩午夜影院| 一二三四社区欧美黄| 欧美mv日韩mv国产网站app| 国产精品77777| 伊人夜夜躁av伊人久久| 日韩欧美资源站| www.亚洲色图.com| 日韩不卡一区二区| 中文乱码免费一区二区| 欧美精品日韩一区| 高清在线观看日韩| 天天综合色天天综合色h| 久久久亚洲高清| 在线影院国内精品| 国产精品影音先锋| 亚洲香肠在线观看| 国产欧美一区二区精品仙草咪| 一本大道久久a久久综合婷婷| 奇米四色…亚洲| 中文字幕一区二区三区视频| 91精品一区二区三区久久久久久| 美女视频黄免费的久久 | 欧美日韩国产首页| 国产精华液一区二区三区| 亚洲自拍偷拍欧美| 欧美激情中文字幕| 欧美日本一区二区三区| 国产99精品国产| 日韩精品一区第一页| 国产精品成人一区二区艾草 | 99国产精品一区| 香蕉av福利精品导航| 亚洲三级久久久| 久久亚洲二区三区| 日韩一区二区三区视频在线观看| 97se狠狠狠综合亚洲狠狠| 国产精品一区二区久激情瑜伽| 日韩福利视频网| 夜夜亚洲天天久久| 亚洲女同女同女同女同女同69| 欧美电影免费观看高清完整版在线观看| 99视频一区二区| 国产精品一级片在线观看| 午夜久久久久久久久| 亚洲精品视频一区二区| 国产精品污www在线观看| 日韩欧美中文字幕制服| 欧美精品第一页| 欧美色手机在线观看| 91无套直看片红桃| 99久久婷婷国产综合精品电影| 韩国av一区二区三区四区| 国产精品夜夜爽| 成人黄色小视频| 日本伦理一区二区| 欧美三级资源在线| 欧美一区二区三区白人| 久久人人97超碰com| 国产精品久久久久影院色老大| 亚洲另类色综合网站| 日韩有码一区二区三区| 久久成人综合网| 岛国精品在线观看| 色狠狠桃花综合| 337p亚洲精品色噜噜| 国产亚洲自拍一区| 亚洲欧美另类久久久精品| 日韩国产在线一| 精品亚洲成av人在线观看| 国产成人午夜电影网| 色婷婷狠狠综合| 欧美一级片在线看| 亚洲国产精品国自产拍av| 亚洲成人一区在线| 国产一区二区不卡老阿姨| 色综合久久中文字幕| 欧美成人激情免费网| **网站欧美大片在线观看| 日韩精品欧美精品| 成av人片一区二区| 91精品啪在线观看国产60岁| 国产日韩欧美精品在线| 亚洲国产精品一区二区久久| 国产尤物一区二区| 欧美性猛交xxxx乱大交退制版| 欧美tk—视频vk| 一区二区三区蜜桃| 国产在线精品一区二区三区不卡 | 91在线国产福利| 91精品免费观看| 亚洲日本电影在线| 久久99精品一区二区三区三区| 91农村精品一区二区在线| 精品国产免费人成在线观看| 亚洲黄色av一区| 成人免费三级在线| 精品少妇一区二区三区在线视频| 亚洲色大成网站www久久九九| 久久国产视频网| 在线观看不卡视频| 亚洲国产精华液网站w| 美国av一区二区| 欧美日韩一区二区三区四区五区| 久久精品视频一区二区| 日韩电影一区二区三区四区| 91小视频在线观看| 久久久久88色偷偷免费| 日本一区中文字幕| 欧美日韩在线播放三区| 一区精品在线播放| 国产精华液一区二区三区| 日韩欧美亚洲国产精品字幕久久久| 一区二区三区在线免费视频| 顶级嫩模精品视频在线看| 日韩免费看的电影| 无码av中文一区二区三区桃花岛| 色婷婷亚洲婷婷| 亚洲日本乱码在线观看| 成人av网站免费观看| 亚洲国产成人在线| 粉嫩蜜臀av国产精品网站| 精品福利一区二区三区| 婷婷成人综合网| 欧美精品1区2区| 一区二区三区在线高清| 成人h精品动漫一区二区三区| 欧美激情艳妇裸体舞| 国产成人在线影院 | 成人app网站| 欧美精品一区二区精品网| 六月丁香婷婷久久| 日韩精品一区二区三区视频在线观看| 午夜精品免费在线观看| 欧美日韩国产影片| 午夜精品福利一区二区三区蜜桃| 欧美军同video69gay| 日韩激情视频网站| 欧美大片免费久久精品三p| 蜜臀av性久久久久蜜臀aⅴ| 欧美变态口味重另类| 国产一区二区在线观看免费| 国产午夜精品在线观看| 9l国产精品久久久久麻豆| 国产精品福利一区二区三区| 91色在线porny| 午夜精品一区二区三区三上悠亚| 欧美日韩成人激情| 麻豆91精品91久久久的内涵| 26uuu亚洲| 99久久精品免费看| 午夜精品久久一牛影视| 欧美大片国产精品| 不卡视频免费播放| 亚洲国产欧美一区二区三区丁香婷| 91麻豆精品国产无毒不卡在线观看 | 欧美久久久久久久久久| 视频一区中文字幕国产| 欧美电影免费观看高清完整版| 国产乱码精品一区二区三区av | 在线成人午夜影院| 国产老女人精品毛片久久| 中文一区在线播放| 欧美日韩视频在线一区二区| 理论片日本一区| 亚洲视频一二三区| 欧美电影在线免费观看| 丁香婷婷综合网| 亚洲www啪成人一区二区麻豆|