irungentoo
bf69b54f64
Fix memory leak when closing TCP connection.
...
Thanks to: https://github.com/TokTok/c-toxcore/pull/1216
2018-10-03 08:44:02 -04:00
irungentoo
50e0802a62
Removed useless parameter from new_TCP_server()
2015-06-28 22:14:54 -04:00
irungentoo
0045ace8a8
Small cleanups.
2015-05-02 21:55:42 -04:00
irungentoo
c2e394c5c2
Fixed bug with auto tests and cleaned up the code a bit.
2014-12-26 20:12:51 -05:00
irungentoo
ed7bed6b59
Increased maximum number of incomming TCP connections in TCP server.
2014-09-13 21:16:00 -04:00
notsecure
22d28ddf36
added priority packet system for TCP server
2014-07-15 17:40:21 -04:00
Marc Schütz
ece7e535f3
Const-correctness for TCP_server.c
2014-06-30 21:52:07 +02:00
irungentoo
7adefb6e6b
Renamed list functions to fix conflict issue on certain machines.
2014-06-06 13:23:21 -04:00
irungentoo
9d53bc5d1d
This function only needs to be ran once per second when epoll is
...
enabled because all it does then is send pings and check timeouts
which are calculated by the second.
2014-05-24 22:20:24 -04:00
irungentoo
ad28acd18e
Fixed an issue in list.
...
Cleaned up TCP server a bit.
2014-05-22 17:12:46 -04:00
notsecure
2c8f6ffc3f
epoll for tcp server
2014-05-20 20:46:51 +00:00
notsecure
b034be4162
use LIST in TCP_server
2014-05-20 07:08:03 -04:00
irungentoo
297281dea5
Fixed some issues in TCP_server.
...
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-16 11:26:41 -04:00
irungentoo
c5559e192d
Added OOB packets to the TCP client and server.
2014-05-14 17:15:43 -04:00
irungentoo
a26ced5fcb
Merge branch 'master' into TCP
2014-05-08 18:26:01 -04:00
irungentoo
1bfe15ee88
Decided pretty much how the handshake would work.
...
Started writing the code.
Astyled some files.
2014-04-22 20:28:40 -04:00
irungentoo
9c6a8432ce
Crypto related cleanups.
...
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-21 16:51:36 -04:00
Carlos E. Garcia
cf33c2f9ad
multiple spelling fixes
2014-04-16 12:14:44 -04:00
Steven Noonan
ecf0ff3e7f
sockets: support Mac OS X way of disabling SIGPIPE on a socket
...
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-13 04:01:38 -07:00
irungentoo
881e95671a
Some code written for the TCP part.
2014-04-11 22:09:04 -04:00
irungentoo
bd0d24fc9c
Added TCP_client.
...
Some work done on the TCP part.
2014-04-06 20:51:03 -04:00
irungentoo
c8ab29632b
Some code cleanups.
2014-04-02 18:02:53 -04:00
irungentoo
27a7bf5b1e
TCP server now sends/handles ping packets.
2014-03-30 20:56:59 -04:00
irungentoo
98cba889a7
TCP server now has onion functionality.
...
All the IP/Port related structs now have __attribute__ ((__packed__))
2014-03-29 22:19:03 -04:00
irungentoo
8aaa5fe996
TCP server almost ready.
2014-03-28 22:37:42 -04:00
irungentoo
249d2d9eb7
TCP server testing in progress.
2014-03-26 20:55:14 -04:00
irungentoo
90d7eb4ff3
A bit more work on TCP server.
...
I'm going to start working more diligently on this tommorow, the last
week hasn't really been productive.
2014-03-24 20:54:04 -04:00
irungentoo
cb1c1d25ec
Some work on TCP server done.
2014-03-22 18:29:09 -04:00
irungentoo
d013673366
A bit more code written for TCP servers.
2014-03-19 20:19:51 -04:00
irungentoo
3acf43b76a
A bit of work done on the TCP relay server.
2014-03-14 14:12:35 -04:00
irungentoo
29afa26396
Slightly more work done on the TCP relay server.
2014-03-13 20:48:01 -04:00
irungentoo
2bb5e2c084
Started writing the code for the TCP relay server.
2014-03-12 20:47:07 -04:00