-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.cpp
36 lines (27 loc) · 776 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <QCoreApplication>
#include "test/testeclass.h"
/*
* This software é divided in 2 major parts
* The StunClient and The Torrent Tracker
*
* Stun is a protocol used to let know the client he current
* state is a way to discovery the NAT end orther thinks
*
* Go to stunclient.h to know more
*
*
* The Torrent Tracker class with name "conn.h" is a simple implementation
* of a udp client torrent tracker, the tracker here is used to dicovery
* orther people and to annouce the current public endpoint (ip + udp port)
*
* Go to conn.h to know more
*
*/
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
new TesteClass();
// Conn c("udp://public.popcorn-tracker.org:6969");
// c.startConn();
return a.exec();
}