I have two my own applications on C++ and Java: server and client. It both in one LAN and can transfer data via specified port. I want to make it possible, that client can find IP of server. But how to? Enumeration of all possible IP with address mask - bad idea, it will take a lot of time. May be exists some way, where I can send broadcast to lan from client and receive it in server? Or another way... I can't find information about this, but I think that is possible, because I see it in MyPhoneExplorer on android, for example.
相关问题
- Tcp connection with Spring Integration framework
- How iperf calculates network statistics
- Socket.io Extra Placeholder Frame being sent
- Sending the array of arbitrary length through a so
- Wireshark dissector that works with tls/ssl
相关文章
- Socket编程 TCP方式发送时间有点长
- PostgreSQL field data type for IPv4 addresses
- How many times will TCP retransmit
- boost:asio IPv4 address and UDP comms
- What's “tcp-backlog” in redis.conf
- Virtual Box limit Bandwith on network [closed]
- Is it better to send 1 large chunk or lots of smal
- Twisted XmlStream: How to connect to events?
Why not using UDP broadcast? the client can UDP broadcast "I am at x.x.x.x", and the server can answer (in UDP) to the client, "I am at y.y.y.y".
maybe you can use the Broadcast Address to find your server.