Commit Graph

29 Commits

Author SHA1 Message Date
irungentoo
14b43651c1 Ran the code through: astyle --style=linux 2013-07-27 08:43:36 -04:00
irungentoo
1a6446266c Merge branch 'master' of https://github.com/KostyaKow/ProjectTox-Core into KostyaKow-master
Conflicts:
	core/DHT.c
2013-07-27 08:26:00 -04:00
Konstantin Kowalski
241aca98bd A *lot* of style changes. 2013-07-26 23:07:25 -04:00
Astonex
3e1b96f333 Merge remote-tracking branch 'ProjectTox/master' 2013-07-27 02:52:24 +01:00
Astonex
37a300f902 Close the socket in shutdown_networking() 2013-07-27 02:45:58 +01:00
sometwo
a3298d2b9e Fix some indenting 2013-07-26 19:10:22 -03:00
irungentoo
3d1c77dc57 Added basic Local/LAN discovery. 2013-07-26 10:24:56 -04:00
SilentSand
59b34e423b Formatting.
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -04:00
SilentSand
f377eb9ca2 Licensing
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
irungentoo
63375b68b6 Broadcast now enabled on socket. 2013-07-25 21:00:31 -04:00
Astonex
92398844a0 Changed the error checking to not just be Windows only 2013-07-24 01:33:08 +01:00
Astonex
0af0c274d3 Changed bind() == -1 check to INVALID_SOCK check 2013-07-24 01:22:45 +01:00
Astonex
29aa702a4f Added simple init_networking() error checking 2013-07-24 00:32:50 +01:00
Maxim Biro
e4469b5130 Added address resolving function (Thank you stal). 2013-07-20 17:31:36 -04:00
Andrew
5101ef756a Fixed comments in other files as per request of jvrv 2013-07-20 10:39:05 -04:00
irungentoo
11a39bb49a Cmake changed, small change in random_int()
Cmake builds now builds the new ncurses test only on non windows.
2013-07-13 19:24:14 -04:00
irungentoo
c00cf85078 Spelling mistakes fixed. 2013-07-08 12:36:11 -04:00
irungentoo
a480c0195a Crypto done(still need to test it a bit more thought)
Replaced chars with uint8_t

Added a new test program.

Added some functions to Lossless UDP.

And some other stuff.
2013-07-05 17:00:39 -04:00
irungentoo
ccb270add2 Compiled for windows and fixed stuff accordingly. 2013-07-03 16:35:44 -04:00
irungentoo
c86c1c8132 TODO updated. 2013-07-03 09:45:01 -04:00
irungentoo
9f6b609e08 Made code more portable. 2013-07-01 08:54:21 -04:00
irungentoo
fd44c68801 Couple fixes. 2013-06-28 09:15:19 -04:00
irungentoo
3986206de8 Added a function. 2013-06-27 17:19:09 -04:00
irungentoo
24925a24ec Cleaned up some stuff. 2013-06-27 10:01:31 -04:00
irungentoo
d0ed163914 Fixed something in the DHT, added a milisecond time function. 2013-06-27 07:37:06 -04:00
irungentoo
e6d14d1dad Oups. 2013-06-26 15:05:15 -04:00
irungentoo
dcc3921682 Licenced the code under the GPL for now. 2013-06-26 15:02:42 -04:00
irungentoo
46ee2d6be6 Stuff added 2013-06-26 14:07:01 -04:00
irungentoo
c7f7e30c75 Moved the network functions from the DHT into network.
Also made a nice function to init networking.
2013-06-26 09:56:15 -04:00