summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.c
AgeCommit message (Collapse)Author
2014-07-22Use epoll_create() instead of epoll_create1() for compatibility withirungentoo
older kernels.
2014-07-16Fixed possible bug with TCP nonce not getting incremented.irungentoo
2014-07-15Merge branch 'notsecure-split-video'irungentoo
2014-07-15fixed some issuesnotsecure
2014-07-15added priority packet system for TCP servernotsecure
2014-07-15Fixed TCP bug.irungentoo
Packet was being copied with a wrong, smaller length.
2014-07-15Fixed bug with TCP.irungentoo
Don't increment nonce if packet was discarded instead of being sent.
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
2014-06-30Const-correctness for TCP_server.cMarc Schütz
2014-06-20Reduced number of realloc calls bs_list doesMaxim Biro
2014-06-20Fix redundant assignment in TCP_server.cTux3 / Mlkj / !Lev.uXFMLA
2014-06-13Const correctness for various packet callbacksMarc Schütz
2014-06-06Renamed list functions to fix conflict issue on certain machines.irungentoo
2014-05-24This function only needs to be ran once per second when epoll isirungentoo
enabled because all it does then is send pings and check timeouts which are calculated by the second.
2014-05-22Fixed an issue in list.irungentoo
Cleaned up TCP server a bit.
2014-05-20epoll for tcp servernotsecure
2014-05-20fixed some mistakesnotsecure
2014-05-20use LIST in TCP_servernotsecure
2014-05-17Fixed bug in TCP server where memory was expected to be zero butirungentoo
sometimes wasn't.
2014-05-16Removed non spec behaviour.irungentoo
2014-05-16TCP_server fix.irungentoo
Clear the connections array when connection is killed. Don't allow duplicate entries in connections array.
2014-05-16Fixed some issues in TCP_server.irungentoo
Timed out connections now remove themselves correctly. If a peer with the same public key as another tries to connect, the old connection is killed.
2014-05-14Added OOB packets to the TCP client and server.irungentoo
2014-05-08Merge branch 'master' into TCPirungentoo
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-16multiple spelling fixesCarlos E. Garcia
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-11Some code written for the TCP part.irungentoo
2014-04-06Added TCP_client.irungentoo
Some work done on the TCP part.
2014-04-02Some code cleanups.irungentoo
2014-03-30TCP server now sends/handles ping packets.irungentoo
2014-03-29TCP server now has onion functionality.irungentoo
All the IP/Port related structs now have __attribute__ ((__packed__))
2014-03-28TCP server almost ready.irungentoo
2014-03-26TCP server testing in progress.irungentoo
2014-03-25Basic TCP server stuff should be all done, started testing it.irungentoo
2014-03-24A bit more work on TCP server.irungentoo
I'm going to start working more diligently on this tommorow, the last week hasn't really been productive.
2014-03-22Some work on TCP server done.irungentoo
2014-03-19A bit more code written for TCP servers.irungentoo
2014-03-15A bit of work done on the TCP relay server.irungentoo
2014-03-14A bit of work done on the TCP relay server.irungentoo
2014-03-13Slightly more work done on the TCP relay server.irungentoo
2014-03-12Started writing the code for the TCP relay server.irungentoo