R语言创建一个套接字连接print.socket()函数-中英文对照帮助文档
By MicroRbt Martinez PhD
R语言函数名:print.socket()
R语言函数功能:创建一个套接字连接
来自资源库:基础库(R语言自带)
print.socket()函数所属R语言包:所在R包具体名称、包功能的中英文双语描述见正文后面'--所在R语言包信息--'部分。
描述-----Description-----
With server = FALSE attempts to open a client socket to the specified port and host. With server = TRUE the R process listens on the specified port for a connection and then returns a server socket. It is a good idea to use on.exit to ensure that a socket is closed, as you only get 64 of them.
使用server = FALSE尝试打开到指定端口和主机的客户端套接字。使用server = TRUE,R进程在指定的端口上侦听连接,然后返回服务器套接字。最好使用on.exit来确保套接字已关闭,因为您只能得到其中的64个。
使用方法-----Usage-----
make.socket(host = "localhost", port, fail = TRUE, server = FALSE)
参数-----Arguments-----
<
-----未完,待续-----,↓↓↓展开剩余72%↓↓↓
|