A
A
Artyom Krupsky2017-01-06 00:53:40
Java
Artyom Krupsky, 2017-01-06 00:53:40

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

2 answer(s)
F
Frozen Coder, 2017-01-06
@kru5a

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.

Z
Zakhar Storozhuk, 2017-01-06
@Phell

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 question

Ask a Question

731 491 924 answers to any question