PHP + swoole enables simple online chat with multiple users and online chat with swoole. PHP + swoole implements simple multi-person online chat group. due to the limited capabilities of this article, swoole has not implemented many details of the
A multi-client chat room, support multi-client chat, like the following features:
Feature 1: Client connects to the server via Java NIO, supports multiple client connections
Function 2: When the client initial connection, the server prompts for a nickname, if the nickname has been used, prompt re-enter, if the nickname is unique, the login is success
Recently in the Learning Multi-threading plan to do a simple multi-threaded Socke chat program, the results found that the code on the Internet does not have a complete implementation function, so I realized a demo:The demo function is basically, there is a server responsible for information forwarding, multiple clients send messages, when a client sends a message, other clients can be accepted.Service side
Apache MiNa realizes multi-person chat room
Development environment:
System:windows
javasdk:1.6
Ide:eclipse, MyEclipse 6.6
To develop a dependent library:
jdk1.4+, Mina-core-2.0.4.jar, Slf4j-api-1.5.11.jar, Slf4j-log4j12-1.5.11.jar
Email:hoojo_@126.com
Blog:http://blog.csdn.net/ibm_hoojo
http://hoojo.cnblogs.com/
Http://hoojo.blogjava.net
Recently used socket to write the
Lync is an intra-enterprise instant messaging software, when its own company is a multinational corporation, colleagues have a variety of languages, how to achieve communication, the use of unified language English to communicate?However, if you do not understand English, the other person does not understand English.In fact, Lync in the chat process, provides the instant translation function, but also is mu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.