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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? socket.h

?? mgcp協(xié)議源代碼。支持多種編碼:g711
?? H
?? 第 1 頁 / 共 2 頁
字號:
      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.      void * valuePtr,        /// Pointer to buffer for value.      PINDEX valueSize,       /// Size of buffer to receive value.      int level = SOL_SOCKET  /// Level for option    );  //@}  /**@name Port/Service database functions */  //@{    /**Get the number of the protocol associated with the specified name.       @return       Number of protocol or 0 if the protocol was not found.     */    static WORD GetProtocolByName(      const PString & name      /// Name of protocol    );    /**Get the name of the protocol number specified.       @return       Name of protocol or the number if the protocol was not found.     */    static PString GetNameByProtocol(      WORD proto                /// Number of protocol    );    /**Get the port number for the specified service name. */    virtual WORD GetPortByService(      const PString & service   /// Name of service to get port number for.    ) const;    /**Get the port number for the specified service name.           A name is a unique string contained in a system database. The parameter       here may be either this unique name, an integer value or both separated       by a space (name then integer). In the latter case the integer value is       used if the name cannot be found in the database.           The exact behviour of this function is dependent on whether TCP or UDP       transport is being used. The #PTCPSocket# and #PUDPSocket#       classes will implement this function.       The static version of the function is independent of the socket type as       its first parameter may be "tcp" or "udp",        @return       Port number for service name, or 0 if service cannot be found.     */    static WORD GetPortByService(      const char * protocol,     /// Protocol type for port lookup      const PString & service    /// Name of service to get port number for.    );    /**Get the service name from the port number. */    virtual PString GetServiceByPort(      WORD port   /// Number for service to find name of.    ) const;    /**Get the service name from the port number.           A service name is a unique string contained in a system database. The       parameter here may be either this unique name, an integer value or both       separated by a space (name then integer). In the latter case the       integer value is used if the name cannot be found in the database.           The exact behviour of this function is dependent on whether TCP or UDP       transport is being used. The #PTCPSocket# and #PUDPSocket#       classes will implement this function.       The static version of the function is independent of the socket type as       its first parameter may be "tcp" or "udp",        @return       Service name for port number.     */    static PString GetServiceByPort(      const char * protocol,  /// Protocol type for port lookup      WORD port   /// Number for service to find name of.    );    /**Set the port number for the channel. */    void SetPort(      WORD port   /// New port number for the channel.    );    /**Set the port number for the channel. This a 16 bit number representing       an agreed high level protocol type. The string version looks up a       database of names to find the number for the string name.       A service name is a unique string contained in a system database. The       parameter here may be either this unique name, an integer value or both       separated by a space (name then integer). In the latter case the       integer value is used if the name cannot be found in the database.           The port number may not be changed while the port is open and the       function will assert if an attempt is made to do so.     */    void SetPort(      const PString & service   /// Service name to describe the port number.    );    /**Get the port the TCP socket channel object instance is using.       @return       Port number.     */    WORD GetPort() const;    /**Get a service name for the port number the TCP socket channel object       instance is using.       @return       string service name or a string representation of the port number if no       service with that number can be found.     */    PString GetService() const;  //@}  /**@name Multiple socket selection functions */  //@{    /// List of sockets used for #Select()# function    class SelectList : public PSocketList    {      PCLASSINFO(SelectList, PSocketList)      public:        SelectList()          { DisallowDeleteObjects(); }        /** Add a socket to list .*/        void operator+=(PSocket & sock /** Socket to add. */)          { Append(&sock); }        /** Remove a socket from list .*/        void operator-=(PSocket & sock /** Socket to remove. */)          { Remove(&sock); }    };    /**Select a socket with available data. */    static int Select(      PSocket & sock1,        /// First socket to check for readability.      PSocket & sock2         /// Second socket to check for readability.    );    /**Select a socket with available data. */    static int Select(      PSocket & sock1,        /// First socket to check for readability.      PSocket & sock2,        /// Second socket to check for readability.      const PTimeInterval & timeout /// Timeout for wait on read/write data.    );    /**Select a socket with available data. */    static Errors Select(      SelectList & read       /// List of sockets to check for readability.    );    /**Select a socket with available data. */    static Errors Select(      SelectList & read,      /// List of sockets to check for readability.      const PTimeInterval & timeout /// Timeout for wait on read/write data.    );    /**Select a socket with available data. */    static Errors Select(      SelectList & read,      /// List of sockets to check for readability.      SelectList & write      /// List of sockets to check for writability.    );    /**Select a socket with available data. */    static Errors Select(      SelectList & read,      /// List of sockets to check for readability.      SelectList & write,     /// List of sockets to check for writability.      const PTimeInterval & timeout /// Timeout for wait on read/write data.    );    /**Select a socket with available data. */    static Errors Select(      SelectList & read,      /// List of sockets to check for readability.      SelectList & write,     /// List of sockets to check for writability.      SelectList & except     /// List of sockets to check for exceptions.    );    /**Select a socket with available data. This function will block until the       timeout or data is available to be read or written to the specified       sockets.       The #read#, #write# and #except# lists       are modified by the call so that only the sockets that have data       available are present. If the call timed out then all of these lists       will be empty.       If no timeout is specified then the call will block until a socket       has data available.       @return       TRUE if the select was successful or timed out, FALSE if an error       occurred. If a timeout occurred then the lists returned will be empty.       For the versions taking sockets directly instead of lists the integer       returned is >0 for an error being a value from the PChannel::Errors       enum, 0 for a timeout, -1 for the first socket having read data,       -2 for the second socket and -3 for both.     */    static Errors Select(      SelectList & read,      /// List of sockets to check for readability.      SelectList & write,     /// List of sockets to check for writability.      SelectList & except,    /// List of sockets to check for exceptions.      const PTimeInterval & timeout /// Timeout for wait on read/write data.    );  //@}  /**@name Integer conversion functions */  //@{    /// Convert from host to network byte order    inline static WORD  Host2Net(WORD  v) { return htons(v); }    /// Convert from host to network byte order    inline static DWORD Host2Net(DWORD v) { return htonl(v); }    /// Convert from network to host byte order    inline static WORD  Net2Host(WORD  v) { return ntohs(v); }    /// Convert from network to host byte order    inline static DWORD Net2Host(DWORD v) { return ntohl(v); }  //@}  protected:    /*This function calls os_socket() with the correct parameters for the       socket protocol type.     */    virtual BOOL OpenSocket() = 0;    /**This function returns the protocol name for the socket type.     */    virtual const char * GetProtocolName() const = 0;    int os_close();    int os_socket(int af, int type, int proto);    int os_connect(      struct sockaddr * sin,      PINDEX size    );    int os_recvfrom(      void * buf,      PINDEX len,      int flags,      struct sockaddr * from,      PINDEX * fromlen    );    int os_sendto(      const void * buf,      PINDEX len,      int flags,      struct sockaddr * to,      PINDEX tolen    );    int os_accept(      int sock,      struct sockaddr * addr,      PINDEX * size,      const PTimeInterval & timeout    );    static int os_select(      int maxfds,      fd_set & readfds,      fd_set & writefds,      fd_set & exceptfds,      const PIntArray & allfds,      const PTimeInterval & timeout    );  // Member variables    /// Port to be used by the socket when opening the channel.    WORD port;#ifdef DOC_PLUS_PLUS};#endif// Class declaration continued in platform specific header file ///////////////

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文在线资源观看网站视频免费不卡| 这里只有精品99re| 国产精品电影一区二区三区| 国产成人啪午夜精品网站男同| 久久精品人人做人人综合| 国产在线精品不卡| 亚洲欧洲日本在线| 欧美亚洲综合网| 日韩av电影免费观看高清完整版| 欧美一区2区视频在线观看| 久久99精品国产.久久久久久 | 欧美色图12p| 亚洲午夜一二三区视频| 欧美一级日韩不卡播放免费| 国内一区二区在线| 国产精品国产三级国产普通话蜜臀 | 色婷婷精品久久二区二区蜜臂av| 久久久久久久久久久久久女国产乱| 国产精品性做久久久久久| 国产精品超碰97尤物18| 欧美私人免费视频| 韩国精品一区二区| 亚洲人成人一区二区在线观看| 欧美日精品一区视频| 激情图片小说一区| 亚洲激情网站免费观看| 日韩精品专区在线影院观看| av日韩在线网站| 午夜精品久久久久| 国产日韩三级在线| 91精品国产一区二区三区 | 久久99久国产精品黄毛片色诱| 国产欧美日韩另类视频免费观看| 欧美日韩欧美一区二区| 成人视屏免费看| 日本麻豆一区二区三区视频| 中文字幕在线观看不卡| 欧美岛国在线观看| 欧美三区在线观看| www.亚洲色图| 久国产精品韩国三级视频| 亚洲精品v日韩精品| 国产亚洲精品福利| 51精品国自产在线| 色婷婷久久99综合精品jk白丝| 国产一区二区三区高清播放| 午夜精品久久久久久久99水蜜桃 | 欧美一卡二卡在线| 欧美专区亚洲专区| av亚洲精华国产精华精华| 国内久久精品视频| 日韩精品一卡二卡三卡四卡无卡| 中文字幕在线播放不卡一区| 久久先锋资源网| 91麻豆精品国产91久久久久久久久 | 国产高清久久久久| 三级久久三级久久久| 亚洲欧美国产77777| 国产亚洲综合在线| 精品美女一区二区| 欧美一级艳片视频免费观看| 欧美三级日韩三级国产三级| 色综合一个色综合| 99久久精品国产导航| 国产aⅴ精品一区二区三区色成熟| 亚洲最大的成人av| 中文字幕一区二区三区四区 | 福利91精品一区二区三区| 美国十次了思思久久精品导航| 亚洲一区二区三区四区在线| 亚洲女人的天堂| 中文字幕在线一区| 亚洲色图第一区| 亚洲精品一二三| 一区二区三区欧美激情| 亚洲精品乱码久久久久| 亚洲靠逼com| 亚洲国产精品久久久久婷婷884| 一区二区高清在线| 亚洲成人免费在线| 日韩avvvv在线播放| 免费不卡在线视频| 国产乱色国产精品免费视频| 国产在线精品一区二区| 国产91丝袜在线观看| av一区二区三区四区| 色婷婷久久久综合中文字幕| 欧美色视频在线| 91精品黄色片免费大全| 精品欧美一区二区三区精品久久 | 日韩一二三四区| 精品国产第一区二区三区观看体验| 精品久久久久久久久久久久久久久| 久久这里只有精品首页| 欧美国产日韩在线观看| 亚洲欧美日韩国产另类专区| 亚洲mv在线观看| 麻豆91精品视频| 国产不卡高清在线观看视频| 色综合久久综合| 91精品国产综合久久精品性色| 欧美电影免费观看高清完整版| 国产欧美一区二区三区在线看蜜臀 | 国产精品久久久久一区二区三区 | 国产精品亲子伦对白| 一区二区三区四区激情| 蜜臀精品久久久久久蜜臀| 国产乱码精品一区二区三区忘忧草| 成人av免费观看| 欧美肥胖老妇做爰| 欧美激情中文字幕一区二区| 亚洲国产裸拍裸体视频在线观看乱了| 免费在线观看成人| proumb性欧美在线观看| 欧美日韩精品福利| 欧美激情一区二区三区蜜桃视频| 一区二区三区高清| 国产伦精一区二区三区| 日本韩国一区二区| 久久综合色婷婷| 亚洲最大色网站| 大白屁股一区二区视频| 欧美精品久久一区二区三区| 亚洲国产成人一区二区三区| 日韩不卡一二三区| 99久久久精品| 久久久久久97三级| 日韩精品乱码av一区二区| jlzzjlzz欧美大全| 精品国产免费人成在线观看| 一区二区三区美女视频| 国产大陆亚洲精品国产| 欧美二区在线观看| 亚洲黄色尤物视频| 岛国一区二区在线观看| 日韩亚洲欧美成人一区| 樱花影视一区二区| 成人少妇影院yyyy| 欧美mv和日韩mv国产网站| 亚洲成在人线在线播放| 96av麻豆蜜桃一区二区| 国产欧美日韩精品一区| 久久99热狠狠色一区二区| 欧美在线|欧美| 亚洲黄网站在线观看| av中文一区二区三区| 国产日韩高清在线| 久久99蜜桃精品| 91精品国产福利在线观看| 亚洲在线视频网站| 色婷婷综合久久久久中文| 国产精品动漫网站| 顶级嫩模精品视频在线看| 日韩欧美一二三四区| 婷婷综合在线观看| 欧美日韩黄色影视| 亚洲一二三级电影| 在线看国产日韩| 亚洲香肠在线观看| 色综合久久精品| 亚洲激情网站免费观看| 色狠狠综合天天综合综合| 成人欧美一区二区三区视频网页| 国产 欧美在线| 中文字幕欧美激情一区| 成人性生交大片免费看视频在线| 久久久电影一区二区三区| 精品亚洲国内自在自线福利| 欧美mv日韩mv| 国产91精品精华液一区二区三区 | 欧美三区在线观看| 日韩和欧美一区二区| 欧美一区二区三区四区五区| 午夜精品国产更新| 欧美一级理论片| 国产伦精品一区二区三区免费迷| 久久综合色之久久综合| 懂色av一区二区三区免费观看| 中文字幕一区二区三区四区不卡| 91一区二区在线观看| 亚洲福利一区二区三区| 91麻豆精品国产91久久久久久久久| 蜜臀av亚洲一区中文字幕| 精品国产自在久精品国产| 国产成人精品综合在线观看| 亚洲天堂av老司机| 欧美日韩视频在线观看一区二区三区 | 日韩一区国产二区欧美三区| 久久国产麻豆精品| 亚洲国产精品av| 色94色欧美sute亚洲线路一久 | 国产精品萝li| 欧美三级一区二区| 男人的j进女人的j一区| 久久精品亚洲麻豆av一区二区| 99这里只有精品| 日本伊人午夜精品| 亚洲国产精品黑人久久久 | 精品嫩草影院久久| 99精品欧美一区二区三区综合在线|