get_mysql_option_PHP - Manual: socket_get_option (官方文档)

SO_DEBUG

Reports whether debugging information is being recorded.

SO_BROADCAST

Reports whether transmission of broadcast messages is supported.

SO_REUSEADDR

Reports whether local addresses can be reused.

SO_REUSEPORT

Reports whether local ports can be reused.

SO_KEEPALIVE

Reports whether connections are kept active with periodic transmission

of messages. If the connected socket fails to respond to these messages,

the connection is broken and processes writing to that socket are notified

with a SIGPIPE signal.

SO_LINGER

Reports whether the socket lingers on

If l_onoff is non-zero and

l_linger is zero, all the

unsent data will be discarded and RST (reset) is sent to the

peer in the case of a connection-oriented socket.

On the other hand, if l_onoff is

non-zero and l_linger is non-zero,

l_linger

elapses. If the socket is non-blocking,

l_onoff and

l_linger.

SO_OOBINLINE

Reports whether the socket leaves out-of-band data inline.

SO_SNDBUF

Reports the size of the send buffer.

SO_RCVBUF

Reports the size of the receive buffer.

SO_ERROR

Reports information about error status and clears it.

SO_TYPE

Reports the socket type (e.g.

SOCK_STREAM).

SO_DONTROUTE

Reports whether outgoing messages bypass the standard routing facilities.

SO_RCVLOWAT

Reports the minimum number of bytes to process for socket

input operations.

SO_RCVTIMEO

Reports the timeout value for input operations.

sec which is the seconds part on the timeout

value and usec which is the microsecond part

of the timeout value.

SO_SNDTIMEO

Reports the timeout value specifying the amount of time that an output

function blocks because flow control prevents data from being sent.

sec which is the seconds part on the timeout

value and usec which is the microsecond part

of the timeout value.

SO_SNDLOWAT

Reports the minimum number of bytes to process for socket output operations.

TCP_NODELAY

Reports whether the Nagle TCP algorithm is disabled.

MCAST_JOIN_GROUP

Joins a multicast group. (added in PHP 5.4)

"group", specifying

a "interface", specifying either an interface

number (type string with

the interface name, like "eth0".

0 can be specified to indicate the interface

should be selected using routing rules. (can only be used in

MCAST_LEAVE_GROUP

Leaves a multicast group. (added in PHP 5.4)

MCAST_JOIN_GROUP for

more information. (can only be used in

MCAST_BLOCK_SOURCE

Blocks packets arriving from a specific source to a specific

multicast group, which must have been previously joined.

(added in PHP 5.4)

MCAST_JOIN_GROUP, plus one extra key,

source, which maps to a

MCAST_UNBLOCK_SOURCE

Unblocks (start receiving again) packets arriving from a specific

source address to a specific multicast group, which must have been

previously joined. (added in PHP 5.4)

MCAST_BLOCK_SOURCE.

(can only be used in

MCAST_JOIN_SOURCE_GROUP

Receive packets destined to a specific multicast group whose source

address matches a specific value. (added in PHP 5.4)

MCAST_BLOCK_SOURCE.

(can only be used in

MCAST_LEAVE_SOURCE_GROUP

Stop receiving packets destined to a specific multicast group whose

soure address matches a specific value. (added in PHP 5.4)

MCAST_BLOCK_SOURCE.

(can only be used in

IP_MULTICAST_IF

The outgoing interface for IPv4 multicast packets.

(added in PHP 5.4)

Either eth0. The value 0 can be used to

indicate the routing table is to used in the interface selection.

The function socket_get_option() returns an

interface index.

Note that, unlike the C API, this option does NOT take an IP

address. This eliminates the interface difference between

IP_MULTICAST_IF and

IPV6_MULTICAST_IF.

IPV6_MULTICAST_IF

The outgoing interface for IPv6 multicast packets.

(added in PHP 5.4)

The same as IP_MULTICAST_IF.

IP_MULTICAST_LOOP

The multicast loopback policy for IPv4 packets, which

determines whether multicast packets sent by this socket also reach

receivers in the same host that have joined the same multicast group

on the outgoing interface used by this socket. This is the case by

default.

(added in PHP 5.4)

0 or

1). For

IPV6_MULTICAST_LOOP

Analogous to IP_MULTICAST_LOOP, but for IPv6.

(added in PHP 5.4)

IP_MULTICAST_LOOP.

IP_MULTICAST_TTL

The time-to-live of outgoing IPv4 multicast packets. This should be

a value between 0 (don't leave the interface) and 255. The default

value is 1 (only the local network is reached).

(added in PHP 5.4)

IPV6_MULTICAST_HOPS

Analogous to IP_MULTICAST_TTL, but for IPv6

packets. The value -1 is also accepted, meaning the route default

should be used.

(added in PHP 5.4)

1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值