-
Notifications
You must be signed in to change notification settings - Fork 0
Server
MarcusW edited this page Feb 27, 2016
·
2 revisions
The server should be running on the desktop pc all the time and register an Avahi service to point to it's ip address. It runs in the background and listens for incoming tcp connections by a client. When a client connects it receives the list of requested file transmissions and should ask the user for which files should be accepted. The list of accepted files is sent back to the client after that and the server awaits their data as byte stream that's divided into multiple packages. After the file transmission succeeded the connection gets closed.
Even if the server ports are shared using Avahi automatically, it's recommended to use these ports:
- Encrypted connection (Forces TLS handshake): 7431
- Unencrypted connection (Insecure, optional): 7432