After logging in to Outlook, you can click on your name that is shown at the top right to change your status. To chat with your contacts, click on the chat icon, then click on the Start New conversation box where a drop down menu will display your online contacts. Visit Outlook. Visit AIM Express. All the above websites are official web based instant messengers. There are also third party websites that provide all in one web based instant messaging.
With Meebo retiring their online messenger, here are the alternatives. Trillian is a popular multi instant messaging desktop shareware that connects to most available messaging service.
This allows you to chat with your contacts from one program rather than installing and running multiple programs.
They now have a free web based version where it requires you to create a free account, and then add the service that you want to connect to. Visit Trillian for Web. A very nice feature found in eBuddy is the ability to add multiple networks and link them into one. Visit eBuddy. The website uses SSL encryption that protects your login information from being stolen through packet sniffing. A unique feature found in imo is the ability to send short voice messages to your contacts.
Visit imo. You can directly use it without registering an account but having an account has an advantage of auto signing in to multiple networks that you add without manually logging in each time. ILoveIM is another web based multi messenger that has been around for a few years already.
Visit ILoveIM. Karoo Lark supports a total of 7 networks and is powered by Javascript. You can connect to the networks by clicking on the icons which will popup a Google Talk like interface to login and chat with your contacts.
You can minimize the instant messenger interface and easily restore it back by clicking on the small icon located at the bottom. Visit Karoo Lark. During testing we were able to connect to MSN but not Yahoo. Anyone know how the IRC protocol does this? A connection itself is already a two-way communication channel so it can be used to both send and receive messages, events etc. You don't need to poll server since client is able to maintain persistent connection and just wait for data to appear optionally sending periodic PING-like message to ensure connection is alive.
IRC uses a single connection to server to exchange text commands. For example one of the main commands:. This command can be originated either by client or by server. Server's task here is to properly broadcast this message to appropriate clients. If you're using raw InputOutput streams then yes this is a good way of doing it.
You create one thread on the clientside that acts in a similar fashion as the server thread - waits for any incoming updates and when it does it updates the client. I wouldn't call it a server though. This solution in an enterprise environment would probably be done through some kind of messaging framework such as Spring Integration but dig deep enough and it will essentially be a similar way to how you mentioned.
Do you need a fully custom protocol or would it be sufficient to use the XMPP? There are several open source libraries implementing XMPP. For me, to develop instant messaging service, I will use websocket protocol instead of normal java socket because the normal socket can not work well with HTTP protocol and moreover some network providers and firewalls banned custom ports.
If you develop it in normal socket, your service could not be accessed by web clients. Did you plan to develop the instant messaging service yourself? How about using other protocols such as Jabber? Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Java Instant Messenger questions Ask Question. Asked 9 years, 11 months ago. Active 7 years, 1 month ago.
Viewed 1k times. I am looking to build an instant messenger in Java. Clients will connect to the server to log in. They will start a conversation with one or more other clients. They will then post messages to the server that will relay the messages to all the clients. The client needs to be continually updated when users post messages or log in.
Improve this question. Add a comment. Active Oldest Votes. Improve this answer.
0コメント