PipeSocket 属性 |
PipeSocket 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ConnectTimeOut |
获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback | |
IpAddress |
获取或是设置远程服务器的IP地址,如果是本机测试,那么需要设置为127.0.0.1 Get or set the IP address of the remote server. If it is a local test, then it needs to be set to 127.0.0.1 | |
IsSocketError |
指示长连接的套接字是否处于错误的状态 Indicates if the long-connected socket is in the wrong state | |
LocalBinding |
获取或设置绑定的本地的IP地址和端口号信息,如果端口设置为0,代表任何可用的端口 Get or set the bound local IP address and port number information, if the port is set to 0, it means any available port | |
LockingTick |
获取当前进入等待锁的数量 (继承自 PipeBase。)Gets the number of pending locks currently entered | |
Port |
获取或设置服务器的端口号,具体的值需要取决于对方的配置 Gets or sets the port number of the server. The specific value depends on the configuration of the other party. | |
ReceiveTimeOut |
获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback | |
SleepTime |
获取或设置在正式接收对方返回数据前的时候,需要休息的时间,当设置为0的时候,不需要休息。 Get or set the time required to rest before officially receiving the data from the other party. When it is set to 0, no rest is required. | |
Socket |
获取或设置当前的客户端用于服务器连接的套接字。 Gets or sets the socket currently used by the client for server connection. |