L
L
lenston2015-04-17 16:47:37
Java
lenston, 2015-04-17 16:47:37

How to send a packet from client to client without using a server?

You need to connect to the client, send him a message and close the connection. Google has a wagon of making client-server chats. And how easy is it to send a message to one client, knowing the IP and port?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Moseychuk, 2015-04-17
@fshp

You are confusing a software server and a hardware one. A server in a data center is not the same as a web server or a chat server. You need a server program that will run on the client's computer.

A
Andrey Myvrenik, 2015-04-17
@gim0

Google has a wagon of making client-server chats. And how easy is it to send a message to one client, knowing the IP and port?

Port of what? Someone needs to listen on this port, and what it does is called a server.
Answer to the question: no way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question