|
P2P File Share
A simple peer-to-peer file sharing system.
|
The entrypoint to the client. More...
#include "../common/load_tracker_info.cpp"#include "../network/network_errors.hpp"#include "../network/tcp_server.hpp"#include "process_input.hpp"#include "process_request.hpp"Functions | |
| bool | connect_to_tracker (TCPSocket &tracker) |
| Attempt to connect to any of the trackers. | |
| void | loop (const Endpoint &client_endpoint, TCPSocket &tracker, const EndpointID &my_id) |
| int | main (int argc, char *argv[]) |
| Execution starts here. | |
The entrypoint to the client.
| bool connect_to_tracker | ( | TCPSocket & | tracker | ) |
Attempt to connect to any of the trackers.
| void loop | ( | const Endpoint & | client_endpoint, |
| TCPSocket & | tracker, | ||
| const EndpointID & | my_id ) |
| int main | ( | int | argc, |
| char * | argv[] ) |
Execution starts here.