搜索资源列表
java实现服务器和客户机通讯的的方法
- 本文介绍一种用Java的Socket和ServerSocket实现服务器和客户机通讯的的方法。原理是在服务器端建立ServerSocket端口并监听,接收到客户端的连接请求时建立Socket,得到Socket的输入输出流。在客户端新建Socket并获得输入输出流。服务器和客户端的输入输出流建立后使用writeLine()和println()方法彼此发送和接收数据。为提高代码效率,建立两个类clientAgent和serverAgent。 -This article introduces a
get
- 手机号码获取,手机型号获取,java代码-Access to mobile phone numbers, cell phone models to obtain, java code
getfile
- 用java实现了从互联网上获取文件的功能,供大家参考。-Achieved using java from the Internet access to files, for your reference.
Java-to-call-VC-PP-DLL
- Java 通过JNI 技术调用VC ++ DLL 的方法, 并设计了含有串口GPS 类和Java 导出 函数的DLL , 该DLL 既可以用于Java 访问串口GPS , 也可以用于VC ++ 访问串口GPS , 实现了Java和VC ++ 共用的动态连接库设计。-Java through JNI technology called VC++ DLL' s methods, and design and the Java class containing the serial GPS