设为首页收藏本站获取积分奖励

R语言中文网

 找回密码
 立即注册
查看: 561|回复: 0

R语言创建一个套接字连接print.socket()函数-中英文对照帮助文档

[复制链接]
发表于 2020-8-21 08:10:34 | 显示全部楼层 |阅读模式
        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%↓↓↓
购买主题 前行需要您的支持,请赞助作者 【15 金钱】 就能浏览全部100%内容啦!(本贴一次赞助、永久可读)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|R语言中文网    

GMT+8, 2024-5-21 05:28 , Processed in 0.025772 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表