summaryrefslogtreecommitdiff
path: root/toxcore/TCP_client.c
AgeCommit message (Collapse)Author
2014-05-17add_tcp_relay_peer() can be used to add relays that we know thatirungentoo
peer is connected to. Some cleanups/fixes.
2014-05-16Fixed TCP_client connections not timing out correctly.irungentoo
2014-05-15Exposed and tested disconnect notification TCP packets.irungentoo
2014-05-14Added OOB packets to the TCP client and server.irungentoo
2014-05-13TCP_client callbacks now have a per connection number that can be set.irungentoo
2014-04-22Decided pretty much how the handshake would work.irungentoo
Started writing the code. Astyled some files.
2014-04-21Crypto related cleanups.irungentoo
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.
2014-04-17Fixed build issues.irungentoo
2014-04-14Added function to TCP client and some tests.irungentoo
2014-04-13TCP_client pretty much done?irungentoo
Now next step is integrating it in tox. Added TCP server functionality to bootstrap server (define TCP_RELAY_ENABLED to enable it.)
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-12Pings and onion packets implemented in TCP_Client.cirungentoo
Astyled one test and added a couple lines to another.
2014-04-11Some code written for the TCP part.irungentoo
2014-04-10Added TCP test to build system.irungentoo
2014-04-06Added TCP_client.irungentoo
Some work done on the TCP part.