


We could identify requests by IP address, but it is hard to avoid connecting to ourselves or to avoid seeing the same peer twice just using that (we may get their packets over multiple interfaces, for example). The TCP port that they are running the server on (17500 is reserved, but that is no guarantee that it will be available, so we may bind to a different port).The version of the protocol used by that computer.To do this, each machine periodically sends and listens for UDP broadcast packets over port 17500 (which is reserved by IANA for LAN Sync). The first challenge about LAN Sync is finding other machines on the LAN to sync with. The client is responsible for trying to request blocks from the network. The server handles requests from other machines on the network, serving requested block data. The discovery engine is responsible for finding machines on the network that we can sync with (i.e., machines which have access to namespaces in common with ours). There are three main components of the LAN Sync system that run on the desktop app: the discovery engine, the server, and the client.
