Description: WEB服务器实现原理源代码,Java socket编程绝对实用,IntelliJ工程 ,近乎于完美的程度,欢迎大家下载,记住xuezheng21cn-Principle Web server source code, Java programming socket absolutely practical, IntelliJ, almost in a perfect degree, all are welcome to download, remember xuezheng21cn Platform: |
Size: 21002 |
Author:柳学铮 |
Hits:
Description: j2me的联网21点程序,使用socket连接,初学者可以看看,商业源代码哦-J2ME networking 21:00, the use of socket connections, beginners can see that commercial source code! ! Platform: |
Size: 328704 |
Author:无限 |
Hits:
Description: WEB服务器实现原理源代码,Java socket编程绝对实用,IntelliJ工程 ,近乎于完美的程度,欢迎大家下载,记住xuezheng21cn-Principle Web server source code, Java programming socket absolutely practical, IntelliJ, almost in a perfect degree, all are welcome to download, remember xuezheng21cn Platform: |
Size: 20480 |
Author:柳学铮 |
Hits:
Description: 用java写的聊天室源码,含有客户端和服务器端的jar文件。运用到多线程和socket技术-With java source code written in the chat room, which contains client and server-side jar file. Applied to multi-threaded and socket technology Platform: |
Size: 111616 |
Author:zhangbo |
Hits:
Description: 在netbeans上开发的java chatroom,分为服务器端和客户端,使用了java socket编程,里面包含了项目和源代码、设计文档(英语)。-The netbeans developed on java chatroom, is divided into server-side and client-side, using java socket programming, which includes the project and source code, design documents (in English). Platform: |
Size: 1504256 |
Author:luqianhui |
Hits:
Description: 服务端socket,通过监听某一端口实现多线程通信的socket源代码-Server socket, through the listening port to achieve a multi-threaded communication socket source code Platform: |
Size: 1024 |
Author:zjj |
Hits:
Description: java编写的简陋版QQ源码 可以聊天查看在线好友-java source code written in simple version of QQ to chat with online friends, etc. See Platform: |
Size: 48128 |
Author:江刚 |
Hits:
Description: Java Socket编程的几个示范性例子,包括远程服务器端和客户端的源码,详细展示了Socket编程的流程,供初学者参考。-Java Socket programming model of a few examples, including the remote server and client source code, Socket programming shows in detail the process, reference for beginners. Platform: |
Size: 9216 |
Author:Liao Jinxing |
Hits:
Description: GPRS DTU数据中心 源代码,实际cdma的也可以用
DTU接受程序使用Java编写,其中,…\WSNserver\src 为源文件,…\WSNserver\bin 为可执行程序。该文件夹下project文件可用eclipse for java 直接打开编译。编译是需要注意的是将java-mysql的类库放置在C:\Program Files\Java\jre6\lib\ext路径下。本程序只用到这一个Java外部类库。
在源文件中,DataReceiver.java 为主程序类,通过该类调用其他子类。
其中:DataReceiver.java 包括主程序main,以及TCP/IP 接收数据的实现。
DataAnalysis.java 对接受的数据按照既定格式进行拆分
DataBase.java 将数据写入Mysql数据库
DataStructure.java 规定数据格式
TwoThread.java 开启多线程功能
post.java 实现向新浪网备份数据
GetIP.java 获取本机固定IP-GPRS DTU data center source code, you can also use the actual cdma
DTU to accept the program written in Java, which, ... \ WSNserver \ src for the source file, ... \ WSNserver \ bin for the executable program. The project file folder opened directly available eclipse for java compiler. Compilation is important to note that the library will be java-mysql placed in C: \ Program Files \ Java \ jre6 \ lib \ ext path. This procedure is only used outside this a Java class libraries.
In the source file, DataReceiver.java main classes, the class called by other sub-categories.
Of which: DataReceiver.java including the main program main, and TCP/IP implementation to receive data.
DataAnalysis.java of the received data in accordance with the established format for split
DataBase.java to write data to Mysql database
DataStructure.java data format requirements
TwoThread.java on multithreading
post.java Sina backup data to achieve
GetIP.java fix Platform: |
Size: 31744 |
Author:刑名 |
Hits:
Description: 应用套接字在java平台上编写的一个聊天程序,有分别有客户端和服务器端的源码-Application socket to write a chat program in java platform, respectively, the source code of the client and server-side Platform: |
Size: 6144 |
Author:cao |
Hits:
Description: java聊天程序源代码 简单的聊天程序,主要用到的是Socket,线程以及流-java chat program source code for a simple chat program, mainly used in the Socket, thread and streaming Platform: |
Size: 6144 |
Author:andy |
Hits:
Description: 通过学习socket套接字原来,采用java语言来实现P2P中的基本网络编程。仅供大家参考学习。-This source code applies the JAVA to realize the basic network program in the P2P networks by using the socket theory. Platform: |
Size: 12288 |
Author:余甜 |
Hits:
Description: 摘要:Java源码,网络相关,聊天程序
一个Java聊天程序服务端和客户端程序,C/S结构,ChatServer 类实现了一个聊天室服务器端, 此类有一个构造器, 在构造器中使用newServerSocket()建立一个Socket 连接。RunServer()方法中运行聊天服务,通过Socket 类的getInetAddress().getHostName() 方法获得主机名, 建立新的ChatHandler 对象实例, 在synchronized (clients)中取得与客户端的同步。内部类ChatHandler 继承了Thread 类,在此线程run()方法中处理一次交谈。Close()方法关闭与客户端的连接。
ChatRoom 类继承了Applet,在init()中通过new Frame()创建聊天窗体,并在此窗体中设置窗体布局。在login()方法中,通过new Socket(serverHost, port)建立与服务器的连接,通过new Thread()产生新的聊天线程。在logout()方法中,使用sock.close()关闭连接。-Summary: Java source code, network-related, a Java chat program chat program and client service procedures, C/S structure, ChatServer class implements a chat room server, such a constructor, to use in the constructor newServerSocket ( ) to establish a Socket connection. RunServer () method to run the chat service, (). GetHostName () method to obtain the host name through the Socket class getInetAddress, create a new object instance ChatHandler, synchronized with the client synchronized (clients) in. Internal class ChatHandler inherited Thread class, in this thread run () method of processing a conversation. Close () method closes the connection with the client. ChatRoom class inherits Applet, () to create a chat window by new Frame init () in, and set the form layout in this form. In the login () method to establish a connection with the server via new Socket (serverHost, port), to produce a new chat thread through new Thread (). In the logout () method, using sock.close () closes the Platform: |
Size: 5120 |
Author:ynm |
Hits: