目标Demo是通过JavaServerSocket和Socket通信实现客户端发送消息和发送文件到服务器,服务器接收到消息和文件,并且实现解决inputStream.read()的阻塞问题思路。服务器端创建ServerSocket服务器serverSocket=newServerSocket(port);//首先创建一个服务端口//等待客户端的连接请求socket=serverSocket.acc
分类:
移动开发 时间:
2020-03-04 23:15:06
阅读次数:
103
I want to test a device DNS feature, so I build a DNS server in my Ubuntu PC. In this example, I want to my device to send the report to report.com wh ...
分类:
系统相关 时间:
2020-03-04 12:46:27
阅读次数:
87
官网地址:https://packagecontrol.io/installation Use one of the following methods to install Package Control: 三种安装方法(前两种是已经有安装包的,第三种是手动) 1、Command Palette ...
分类:
其他好文 时间:
2020-03-04 12:34:31
阅读次数:
290
//fs文件系统模块 let fs = require('fs') let http = require('http') // 读取文件操作 // 第一个参数为相对路径(也可传入绝对路径__dirname:代表当前目录的绝对路径,是一个字符串) // 第二个参数是一个回调函数 //console.l ...
分类:
其他好文 时间:
2020-03-04 00:24:54
阅读次数:
72
原文链接: "https://xiaoheidiannao.com/articles/Change Folder Path Under User Directory.html" 在用户目录下,存在 ,`OneDrive 保存的游戏 联系人 链接 视频 收藏夹 搜索 图片 文档 下载 音乐 桌面`等 ...
分类:
移动开发 时间:
2020-03-03 18:58:50
阅读次数:
107
在Ubuntu上面搭建caffe环境,搭建完成之后运行sudo make runtest -j8失败,提示错误为:.build_release/tools/caffe: error while loading shared libraries: libcudart.so.10.0: cannot o ...
分类:
系统相关 时间:
2020-03-03 13:16:34
阅读次数:
178
Flume: source: Avro是一个轻量级的rpc框架,可以解决单点故障。 Thrift少用。 Exec:类似 tail -f spooling Directory:目录 Tail dir多个目录里面动态变化的数据 kafka sosurce netcat source 图中红色用法较多。 ...
分类:
Web程序 时间:
2020-03-03 10:33:19
阅读次数:
61
在github上已经注册了账号。 特别注意: 括号内均为提示信息 1、常用命令行工具: ①cmd ②powershell ③git bash 2、命令行常用命令(在git bash上生效,部分在cmd无用) ? pwd (print working directory) 查看当前所在路径 绝对路径 ...
分类:
其他好文 时间:
2020-03-02 18:54:38
阅读次数:
80
C#常用文件操作在 System.IO 命名类库中有:File、Directory; 一、 1、文件(File) 操作: 文件创建:File.Create(filePath); 在指定路径中创建或覆盖文件 文件删除:File.Delete(filePath); 判断文件是否存在:File.Exist ...
出现这个错误时,这多半是你所编译的项目是在64位机器上生成32位的项目,你需要安装对应的gcc 32位的库;此时检查gcc一定有-m32的存在; 你系统中gcc没有安装multilib 库;使用这个库可以在64位的机器上产生32位的程序或者库文件; 你可以选择:apt install gcc-mul ...
分类:
其他好文 时间:
2020-03-01 00:16:22
阅读次数:
109