bat文件读取tcp服务器的信息,[原创]批处理的TCP网络通信

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

【版本一】

说明文件:

=====================================================================

[English]

usage:

NetWork [Command] [IP] [Port] ...

If you want to send something,[Command] should be 'Send' ,[IP] is the network you want to send to ,[Port] must be the same as the [Port] on that network ,and is something you want to send.

If you want to get something another network send,[Command] should be 'Get' ,[IP] can be '0.0.0.0' or your IPAddress ,and [Port] must be the same as the [Port] on another network.

[WARNING]The text that program get will show on the CMD window,but you can use 'for' to get it.

--This program is a test subject. Do NOT use it in your important softwear or program.

[中文]

使用方法:

NetWork [Command] [IP] [Port]

如果你想发送消息,[Command]应为"Send",[IP]是你要发送到的终端,[Port]必须与该终端一致,是你要发送的字符串。

如果你想接收别的终端发送的消息,[Command]应为"Get",[IP]为"0.0.0.0"或另一指定的IP(这将限制接收范围),[Port]必须与该终端一致。

[警告]系统接收到的文本会被直接显示到CMD窗口,您可以通过"For"截取。

--这个程序是一个测试项目。不要在重要的程序或软件上调用它。

=====================================================================

链接:http://pan.baidu.com/s/1rp59

文件内包含以上说明。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值