Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads WEB Code JSP/Java

JavaChar_

  • Category : JSP/Java
  • Tags :
  • Update : 2008-10-13
  • Size : 5.6kb
  • Downloaded :0次
  • Author :liaos******
  • About : liaoshihong
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
Multiplayer chat, multithreading, multi-threading, implementation In a multiplayer server, we should have a servo end thread responsible for listening to the client connection, if there is a client of attachment, was assigned to a client thread dedicated to this client connection, and record it on the client side queue, then listen to the next. A client thread should work, is to read the customer wired the user input information, it is not responsible for response messages, but will read the message in the message queue, in addition to all this in our example, the client thread is also responsible for their own connection state, if the user needs, the client thread will be responsible for their removal from the client queue. The broadcast executive is responsible for taking out the messages in the queue and then sending a message to the client in the queue that exists in the queue.
Packet file list
(Preview for download)
Packet : 29782186javachar_.rar filelist
JavaChar◎\BroadCastThread.java
JavaChar◎\ChatClientSocket.java
JavaChar◎\ClientThread.java
JavaChar◎\MultiChatClient.java
JavaChar◎\MultiChatServer.java
JavaChar◎\ServerThread.java
JavaChar◎
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.