搜索资源列表
-
0下载:
客户端,使用Socket对网络上某一个服务器的某一个端口发出连接请求,一旦连接成功,打开会话;会话完成后,关闭Socket。客户端不需要指定打开的端口,通常临时的、动态的分配一个1024以上的端口。
服务器,使用ServerSocket监听指定的端口,端口可以随意指定(由于1024以下的端口通常属于保留端口,在一些操作系统中不可以随意使用,所以建议使用大于1024的端口),等待客户连接请求,客户连接后,会话产生;在完成会话后,关闭连接。
-Client, use the Socket o
-
-
0下载:
客户端与服务器之间进行多发多收的聊天功能- Between the client and the server for multiple gathered much chat function
-
-
0下载:
简单的应用socket的编码,简单客户端信息传输到服务器端,并且返回相应的字符串.自主实现.-Simple application of the socket code, simple message transfer client to the server, and returns the corresponding string self-realization
-
-
0下载:
Java中的SSL及HTTPS协议实例源码,使用SSL套接字的HTTPS服务器端,接受客户端的一个连接,并返回Hello,world.
本例中使用8080端口创建SSL服务器套接字,返回缺省的SocketFactory对象,生成PrintWriter对象,用于输出信息。-Java SSL and HTTPS protocol source code examples, using SSL socket HTTPS server, the client accepted a connec
-
-
0下载:
在java程序中,聊天程序运行的时候客户端和服务器端的连接情况以及其运行情况。-In the java programming, chat program at run-time client and server-side connection and its operation.
-
-
0下载:
代码可以实现客户端与服务器见文件传输功能-Code can achieve the client and server to see the file transfer capabilities
-
-
0下载:
基于socket基础编程的几个简单的例子,适合刚学习socket编程的新人参考学习。一个5个部分:服务器获得每个客户端的IP、用户登录-对象方式、用户登录-支持多客户端、用户登录-字符串方式、在线客服系统客户咨询-For just learning a few simple examples based on the socket base programming, socket programming, the new reference learning. A five parts: a s
-
-
0下载:
21点游戏多人网络版
1.实验目的
(1)熟悉和掌握网络编程的基本方法和步骤;
(2)进一步理解client/server交互模式;
(3)加深学生对游戏程序的设计和实现方法的理解;
(4)熟悉socket编程接口,掌握用socket编程接口开发面向连接的网络应用程序的方法。
2.实验任务
要求:
(1)读懂单机版21点游戏程序;
(2)实现图形用户界面;
(3)实现网络版;
(4)可进行多人游戏;-21:00 game multiplayer onl
-
-
0下载:
java实现socket通信,server- client -send message with socket in java
-
-
0下载:
Java编写的多人聊天室程序,CS结构,一个Server多个Client,Server同时也是Client。并且可以传输图片,在聊天框显示。Java实现,简单的socket编程。-The multiplayer chat program written in Java CS structure, more than a Server Client, Server is also the Client. And can transfer the pictures displayed in the
-
-
0下载:
多线程的实现,有客户端和服务器端的输入输出-The realization of multi-threaded, client and server-side input and output
-
-
0下载:
套接字通信~客户端和服务器端,有源代码,初学者可以-Socket communication to the client and the server-side source code, beginners can take a look at
-
-
0下载:
线程通信,客户端和服务器的通信,采用了线程-Thread communication, the client and server communications, the use of a thread
-
-
0下载:
这个程序是java中socket通信的基础,分为服务器端和客户端,进行socket通信,传输文件。-This java program is a base socket communication program that contains server and client. It implements the function of transfering a file by sockets.
-
-
0下载:
该文件利用java语言的Socket实现了客户端和服务端信息交流-The file using the Java language s Socket implementation the client and server communication
-
-
0下载:
最基本的java socket编译 实现server服务器的单线程 多线程,使用rmi接口实现简单的客户端服务-会议记录系统-Basic java socket compiled single-threaded multi-threaded server server, using RMI interface simple client services- conference recording system
-
-
0下载:
Java语言版的Socket文件传输,包含一个客户端和一个服务器端。-Java language version of the the Socket file transfer, contains a client and a server-side.
-
-
0下载:
双机通信处于服务端与客户端之间的。搜索服务端ip-Two-machine communication in service between server and client. Search server ip
-
-
0下载:
聊天程序主要利用Java网络包中的服务器套接字和客户端套接字实现,其核心部分的实现思路如下:
服务器根据指定的端口创建服务器套接字,并在该端口侦听连接请求;
每一个新加入的客户端创建客户端套接字,与服务器进行连接;
每一个连接在服务器有一个连接池保持连接;
当其中的一个客户端发出群聊或者上线下线信息后,对应的连接的服务器程序在接收到该消息后,向其所维持的所有的客户连接广播该消息。当客户端发出单独聊天,文件传输等需要发给指定用户的消息时,服务器端遍历连接池找到对应客户端,将消息单独
-
-
0下载:
[Android] 手機資料傳到電腦(WiFi)
如何將手機資料經由WIFI傳到電腦呢?
我們可以利用ServerSocket(Server端)和socket(Client端)來實作一個例子,
從手機裡選一張照片傳送到電腦,
這裡有一點要注意,Server和client需在同一個網址。-[Android] phone data to a computer (WiFi) information on how the phone to a computer via WIFI it?
-
«
1
2
3
4
56
7
8
9
10
...
13
»