V
V
Vladislav2014-10-25 19:10:02
Java
Vladislav, 2014-10-25 19:10:02

How to implement such a server part?

Perhaps it will be clearer if I describe what exactly needs to be implemented.
There is a server and clients (in general, the client part will be on mobile devices, but that's not the point).
It is necessary to make sure that 2 clients can connect, so to speak, on one line. For example, there is a "search" button when the client is clicked, it enters the search queue, then the server connects 2 clients and the rest in the same way.
I hope I explained it clearly, if not I'll try again.
And immediately I would like to know the question to such a question: how to more or less make the following more logical. The server should give music (mp3 file), what is better to give to the server in terms of so that the server does not crash when the file itself is given - probably it is better to give a link, and each client will play it himself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FanKiLL, 2014-10-26
@FanKiLL

Try netty.io if you need sockets.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question