summaryrefslogtreecommitdiff
path: root/toxcore/network.c
AgeCommit message (Collapse)Author
2015-03-12tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails.irungentoo
2015-03-08Merge branch 'worfox-new_api' into new_apiirungentoo
2015-03-07Change LOGGER_DEBUG to LOGGER_ERROR for fail bindChristoffer Sterner
2015-03-07Change fprintf debug into LOGGER_DEBUG for consistencyChristoffer Sterner
2015-03-07Fixed debug fprintf.irungentoo
2015-03-02Merge branch 'port_range_option' of https://github.com/saneki/toxcore into ↵irungentoo
new_api
2015-02-27Allow for specifying the port range to use in Tox_Optionssaneki
2015-01-10Logger fixmannol
2015-01-01Code cleanups.irungentoo
Moved some functions to onion.c. Fixed possible portability issues.
2014-12-31Code cleanup.irungentoo
Added length checks to ipport_pack() function.
2014-12-13Added HTTP proxy supportMaxim Biro
2014-11-21Cleaned up packet length types in toxcore.irungentoo
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints.
2014-09-03Fixed iOS possible SIGPIPE issue.irungentoo
Apparently on iOS UDP sockets can SIGPIPE (what the fuck apple?).
2014-08-14UDP can now be disabled.irungentoo
new_messenger() now takes an options struct as an argument.
2014-08-14Remove useless code.irungentoo
2014-07-20Added addr_parse_ip() to network.h header.irungentoo
Removed useless semicolons.
2014-06-28Merge branch 'mannol1-master'irungentoo
2014-06-27remove pointer type warnings when building with mingwnotsecure
2014-06-20Fix CppCheck style errorsTux3 / Mlkj / !Lev.uXFMLA
#if 0 the content of toxav/msi.c : int stringify_message(MSIMessage *msg, char *dest) This function has no effect and does not seem to be used for actively waiting. Fix various other style errors, reduce scope when possible, avoid redundant writes, clarify operator priorities, etc.
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in toxcore/network.cMarc Schütz
2014-06-07Toxcore closer to building correctly with gcc -std=c99.irungentoo
2014-06-07IN6_ARE_ADDR_EQUAL was used only once, replaced it.irungentoo
2014-06-01Fixed TOX_MAX_MESSAGE_LENGTH define.irungentoo
Removed some useless code from toxcore. Astyled core code with new version of astyle.
2014-05-28Check for CLOCK_MONOTONIC_RAWAnsa89
This should fix irungentoo/ProjectTox-Core#879 (and it's better than irungentoo/ProjectTox-Core#883).
2014-05-25Merge branch 'mannol1-Multicalls' into multi-avirungentoo
2014-05-20Merge upstream and other stuffmannol
2014-05-19mistakesnotsecure
forgot to build before pushing
2014-05-19IP_Port packing unpacking in onion.cnotsecure
2014-05-18libsodium header should only be included when libsodium is used.irungentoo
2014-05-18Fix current_time_monotonic on OS X.stal
clock_gettime doesn't exist there, so throw in some equivalent mach stuff.
2014-05-16This works.mannol
2014-05-08Merge branch 'master' into TCPirungentoo
2014-05-08Fixed major denial of service issue.irungentoo
2014-05-03All time in core is now monotonic.irungentoo
2014-05-01Random number functions belong in crypto_core.irungentoo
2014-04-27Yeah many callsmannol
2014-04-25Fixed issue.irungentoo
2014-04-13sockets: support Mac OS X way of disabling SIGPIPE on a socketSteven Noonan
Mac OS X doesn't have MSG_NOSIGNAL, so we need to use SO_NOSIGPIPE. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2014-04-06Added TCP_client.irungentoo
Some work done on the TCP part.
2014-04-02Some code cleanups.irungentoo
2014-03-18Merge branch 'api-fix'irungentoo
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it.
2014-03-16Friend request callback now contains the Tox object.irungentoo
2014-03-15A bit of work done on the TCP relay server.irungentoo
2014-03-12updated compilation and execution instructions for Lossless UDP tests, and ↵Kelong Cong
fixed minor typos
2014-03-07Some tox_wait_* improvementsMaxim Biro
2014-02-25Allow to optionally use randombytes_stir() instead of sodium_init()Jin^eLD
According to sonOfRa sodium_init() has some timing issues on Android. libsodium people said randombytes_stir() can be used instead: https://github.com/jedisct1/libsodium/issues/121 sodium_init() stays the default, randombytes_stir() can be enabled by passing --enable-randombytes-stir to the configure script.
2014-02-10Fixed possible memory leak.irungentoo
2014-01-30Convert IPv4 in IPv6 to IPv6 address in recieve packet.irungentoo
2014-01-20Update network.cbenwaffle