summaryrefslogtreecommitdiff
path: root/toxcore/Lossless_UDP.c
AgeCommit message (Collapse)Author
2013-10-22This squash should work now.Bahkuh
2013-10-20Main: Eliminate TOX_ENABLE_IPV6 (then always on), CLIENT_ONETOONE_IP (then ↵Coren[m]
always off). Additionally (besides cleanups): network.h/tox.h: - WIN32: fix a strange sa_family_t definition - WIN32: define EWOULDBLOCK to WSAEWOULDBLOCK - WIN32: kill macro for an existing function (IN6_ADDR_EQUAL) network.c: - use EWOULDBLOCK instead of EAGAIN (same value, but EWOULDBLOCK is more "popular") - new_networking(): only try to enable IPv4-in-IPv6 if it's not already enabled per default - inet_ntop()/inet_pton(): WIN32: remove partial initializers in favor of a simple memset() - ip_equal(): WIN32: use an existing function - logging: networking_wait_execute(): only dump result if not timeout - logging: loglogdata(): kill an unused variable LAN_discovery.c: - send_broadcasts(): re-enabled, can only support IPv4 by principle, split into fetch_broadcast_info() (to fetch the addresses once) and send_broadcasts() (actual sending) DHT.c: - DHT_load_state_callback(): enclosed a fprintf(stderr, ...) into #ifdef DEBUG Lossless_UDP.c: - change_handshake(): harden against strange sa_family_t definitions Messenger.c: - logging: fix ID to string conversion util.c: - logging: eliminate a signed-warning
2013-10-07Merge pull request #609 from FullName/waitirungentoo
Add tox_wait() for socket, allow tox.h include in tox.c
2013-10-06Code cleanups.irungentoo
2013-10-06Code cleanups.irungentoo
2013-10-06Merge remote-tracking branch 'upstream/master' into wait: replace void *tox ↵Coren[m]
with Tox *tox in tox.c (which now includes the declarations from tox.h)
2013-10-04Fixed some possible bugs.irungentoo
2013-10-03Only add write-ready to select() if we have packets queuedCoren[m]
Lossless_UDP.*: - sendqueue_total() sums sendqueue() across all connections network.*, Messenger.c: - sendqueue_total() is collected and then used in deciding if we select() on write-readiness
2013-10-01File sending now works on bad wireless connections.irungentoo
2013-09-29Fixed connection bug.irungentoo
2013-09-28Connection bug fixed.irungentoo
2013-09-25Fixed possible bug.irungentoo
2013-09-24Possibly fixed the weird disconnecting/reconnecting bug.irungentoo
2013-09-22Fixed the connection bug and cleaned up some stuff.irungentoo
2013-09-21Fixed bug.irungentoo
2013-09-21Connection speed ups.irungentoo
2013-09-21Lossless UDP is now suitable for sending files.irungentoo
Added some actual flow control and made send/recieve buffers grow when necessary.
2013-09-20Small fix in Lossless UDP.irungentoo
2013-09-20Fixed bug.irungentoo
2013-09-20Small fix in Lossless UDP.irungentoo
2013-09-19Fixed bug in Lossless UDP.irungentoo
2013-09-19Fixed bug in Lossless UDP.irungentoo
2013-09-15Fixed portablity problems.irungentoo
struct in6_addr member names can differ per platform.
2013-09-14Some fixes.irungentoo
2013-09-10big push, putting all the infrastructure in place behind TOX_ENABLE_IPV6Coren[m]
2013-09-09network.h:Coren[m]
- global: added sock_t - Networking_Core: added family (currently always AF_INET) and port - sendpacket(): changed signature to require (Networking_Core *) instead of sock_t *.c: - sendpacket()-calls: replaced *->net->sock with *->net
2013-09-06Allow to build vs nacl instead of libsodiumJin^eLD
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-02Fixed possible segfaults from bad input.irungentoo
2013-09-02Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into ↵irungentoo
JamoBox-master
2013-09-02Properly fixed signed/unsigned comparisons.irungentoo
2013-09-02Even more comment updates.JamoBox
2013-09-01Fix signed/unsigned comparison warningsTyler Bunnell
2013-08-30Fixed possible crash.irungentoo
2013-08-30put free_connections() backirungentoo
2013-08-30Fixed possible compiling problems on some compilers.irungentoo
2013-08-30Return values checking for tox_array_push_ptr in Lossless UDP.irungentoo
2013-08-30Fixed warnings and moved hex_string_to_bin to testing/irungentoo
2013-08-30Merge branch 'udp_connections' of https://github.com/vx-k/ProjectTox-Core ↵irungentoo
into vx-k-udp_connections
2013-08-30Fixed build errors.Kostya
2013-08-30Changed handshake code to use union IP_Port.Kostya
2013-08-30Made IP_Port a union.Kostya
2013-08-29Correct a lot of the grammar and spelling. Also spent a few hours fixing the ↵pete
comments so they follow a standard.
2013-08-28Fixed another thing in loop; added initialization for tox_array in lossless UDP.Anony Moose
2013-08-26Fixed for loop counter errors.Anony Moose
2013-08-26Fixed several embarrassing errors and potential problems in tox_array.Anony Moose
2013-08-26connection_id can be negative, so it shouldn't be uint32_t.Anony Moose
2013-08-26Trying to fix memory leak.Anony Moose
2013-08-25Made array stuff more readable.Anony Moose
2013-08-25Removed commented code and fixed broken functions for Lossless_UDP tox_array.Anony Moose
2013-08-25Modified Lossless_UDP connections to work with tox_array.Anony Moose