Answer the question
In order to leave comments, you need to log in
How to write a messenger in Java yourself?
Have programming experience. But for all the time he never learned to write on his own what he planned. For example, I want to write my own messenger, but how do they work? where to begin? where to move? Googling a little, I realized that there are ready-made examples, but I got tired of rewriting the code stupidly.
Answer the question
In order to leave comments, you need to log in
As Igor Vorobiov wrote - to study sockets. As an option - move towards your own implementation of the XMPP protocol. To begin with, you can take a ready-made server and write a client to it. Then see how the server is made (Openfire in Java) and write your own. And you can generally wrap it up and write your own protocol.
First think about what your messenger should be able to do, how it should look - write it down. Next, think about the logic of your program, how it should work - write it down. And start work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question