網(wǎng)絡(luò) 函數(shù)

目錄

  • checkdnsrr — 給指定的主機(jī)(域名)或者IP地址做DNS通信檢查
  • closelog — 關(guān)閉系統(tǒng)日志鏈接
  • dns_check_record — 別名 checkdnsrr
  • dns_get_mx — 別名 getmxrr
  • dns_get_record — 獲取指定主機(jī)的DNS記錄
  • fsockopen — 打開一個(gè)網(wǎng)絡(luò)連接或者一個(gè)Unix套接字連接
  • gethostbyaddr — 獲取指定的IP地址對(duì)應(yīng)的主機(jī)名
  • gethostbyname — 返回主機(jī)名對(duì)應(yīng)的 IPv4地址。
  • gethostbynamel — 獲取互聯(lián)網(wǎng)主機(jī)名對(duì)應(yīng)的 IPv4 地址列表
  • gethostname — 獲取主機(jī)名
  • getmxrr — 獲取互聯(lián)網(wǎng)主機(jī)名對(duì)應(yīng)的 MX 記錄
  • getprotobyname — Get protocol number associated with protocol name
  • getprotobynumber — Get protocol name associated with protocol number
  • getservbyname — 獲取互聯(lián)網(wǎng)服務(wù)協(xié)議對(duì)應(yīng)的端口
  • getservbyport — Get Internet service which corresponds to port and protocol
  • header_register_callback — 調(diào)用一個(gè) header 函數(shù)
  • header_remove — 刪除之前設(shè)置的 HTTP 頭
  • header — 發(fā)送原生 HTTP 頭
  • headers_list — 返回已發(fā)送的 HTTP 響應(yīng)頭(或準(zhǔn)備發(fā)送的)
  • headers_sent — 檢測(cè) HTTP 頭是否已經(jīng)發(fā)送
  • http_response_code — 獲取/設(shè)置響應(yīng)的 HTTP 狀態(tài)碼
  • inet_ntop — Converts a packed internet address to a human readable representation
  • inet_pton — Converts a human readable IP address to its packed in_addr representation
  • ip2long — 將 IPV4 的字符串互聯(lián)網(wǎng)協(xié)議轉(zhuǎn)換成長(zhǎng)整型數(shù)字
  • long2ip — 將長(zhǎng)整型轉(zhuǎn)化為字符串形式帶點(diǎn)的互聯(lián)網(wǎng)標(biāo)準(zhǔn)格式地址(IPV4)
  • net_get_interfaces — 獲取網(wǎng)絡(luò)接口
  • openlog — Open connection to system logger
  • pfsockopen — 打開一個(gè)持久的網(wǎng)絡(luò)連接或者Unix套接字連接。
  • setcookie — 發(fā)送 Cookie
  • setrawcookie — 發(fā)送未經(jīng) URL 編碼的 cookie
  • socket_get_status — 別名 stream_get_meta_data
  • socket_set_blocking — 別名 stream_set_blocking
  • socket_set_timeout — 別名 stream_set_timeout
  • syslog — Generate a system log message