Minor changes, README upddated (finally...)

This commit is contained in:
Naim A 2013-08-18 03:22:30 +03:00
parent ddba5b21b3
commit 1702177307
3 changed files with 33 additions and 23 deletions

39
README
View file

@ -1,23 +1,28 @@
README for the UDPT project.
What is UDPT?
The UDPT project is a BitTorrent Tracking software.
It uses the UDP protocol (instead of the HTTP protocol) to track
peers downloading the same software. UDPT was written according
to BEP 15 of the BitTorrent standard.
Licensed under GNU GPLv3.
The license file is attached under the name gpl.txt.
Who Wrote UDPT, and when?
UDPT is an ongoing project (at the meantime), it's development
started on Nevember 20th, 2012.
It was written by Naim A. <naim94a@gmail.com>. Naim wrote this
program for fun in his free time.
Compiling under linux or linux environment (MinGW):
Required Software:
UDPT depends on SQLite3 (public-domain, compatible with GPL).
UDPT's source is designed to be platform portable. It is
supported with Windows and with Linux based systems, It should
work with Apple's systems but it might not (no officially supported).
For Windows (with Linux environment):
$ make win32
I need help using this software, what should I do?
You may want to visit the documentation at the projects's site.
Address: http://code.google.com/p/udpt
For Linux:
$ make linux
Can I suggest a feature or report a bug?
Yes, you can. Please submit a feature request at:
http://code.google.com/p/udpt/issues
Running:
$ ./udpt
Cleaning:
$ make clean
This software currently uses the Sqlite3 Library (public domain).
Developed by Naim A. <naim94a@gmail.com>.
Please visit http://code.google.com/p/udpt for updates.

View file

@ -147,7 +147,7 @@ int main(int argc, char *argv[])
WSAStartup(MAKEWORD(2, 2), &wsadata);
#endif
cout << "UDP Tracker (UDPT) " << VERSION << endl;
cout << "UDP Tracker (UDPT) " << VERSION << " (" << PLATFORM << ")" << endl;
cout << "Copyright 2012,2013 Naim Abda <naim94a@gmail.com>\n\tReleased under the GPLv3 License." << endl;
cout << "Build Date: " << __DATE__ << endl << endl;

View file

@ -28,10 +28,11 @@
#define linux
#endif
#define VERSION "1.0.0-beta"
#ifdef WIN32
#include <winsock2.h>
#include <windows.h>
#define VERSION "1.0.0-beta (Windows)"
#elif defined (linux)
#include <sys/types.h>
#include <sys/socket.h>
@ -54,10 +55,14 @@ typedef void* LPVOID;
typedef void (LPTHREAD_START_ROUTINE)(LPVOID);
typedef pthread_t HANDLE;
#define VERSION "1.0.0-beta (Linux)"
#endif
#ifdef __APPLE__
#undef VERSION
#define VERSION "1.0.0-beta (Apple)"
#ifdef WIN32
#define PLATFORM "Windows"
#elif defined (__APPLE__)
#define PLATFORM "Apple"
#elif defined (__CYGWIN__)
#define PLATFORM "Cygwin"
#else
#define PLATFORM "Linux"
#endif