The future of online communications.
Go to file
iphydf 5b57ab6332
Improve C standard compliance.
- Don't cast between object and function pointers.
- Use standard compliant `__VA_ARGS__` in macros.
- Add explicit `__extension__` on unnamed union in struct (it's a GNU
  extension).
- Remove ; after function definitions.
- Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`.
  Folding integral constants like that as compile time constants is a GNU
  extension. Arrays allocated with `foo` as dimension are VLAs on strictly
  compliant C99 compilers.
- Replace empty initialiser list `{}` with zero-initialiser-list `{0}`.
  The former is a GNU extension meaning the latter.
- Cast `T*` (where `T != void`) to `void *` in format arguments. While any
  object pointer can be implicitly converted to and from `void *`, this
  conversion does not happen in variadic function calls.
- Replace arithmetic on `void *` with arithmetic on `char *`. The former
  is non-compliant.
- Replace non-`int`-derived types (like `uint16_t`, which is
  `short`-derived) in bit fields with `int`-derived types. Using any type
  other than `int` or `unsigned int` (or any of their aliases) in bit
  fields is a GNU extension.
2016-09-06 11:09:10 +01:00
auto_tests Improve C standard compliance. 2016-09-06 11:09:10 +01:00
build Fix include paths 2016-01-01 20:28:48 -05:00
dist-build Removed unnecessary parameters 2014-08-25 10:00:09 +04:00
docs Update readme with tentative roadmap, removed old todo.md 2016-08-14 12:03:26 -07:00
m4 Build system now automatically enables epoll support in TCP server 2014-07-17 20:44:49 -04:00
other Improve C standard compliance. 2016-09-06 11:09:10 +01:00
super_donators Added my pixfile! 2015-12-12 20:40:57 +01:00
testing Improve C standard compliance. 2016-09-06 11:09:10 +01:00
toxav Improve C standard compliance. 2016-09-06 11:09:10 +01:00
toxcore Improve C standard compliance. 2016-09-06 11:09:10 +01:00
toxdns Add braces to all if statements. 2016-08-31 20:04:16 +01:00
toxencryptsave Do not use else after return. 2016-09-02 11:02:56 +01:00
.gitignore Add and use CMake build script 2016-08-12 01:13:11 +01:00
.travis.yml Enable build of av_test. 2016-08-31 20:02:41 +01:00
autogen.sh Some configuration/build fixes, so building basicaly everything else than the library can be disabled 2013-10-07 02:01:16 +02:00
CMakeLists.txt Enable build of av_test. 2016-08-31 20:02:41 +01:00
configure.ac Try searching for libsodium with pkg-config in ./configure. 2016-08-17 21:28:44 +01:00
COPYING Removed the unused autotools files 2015-10-05 15:18:55 -07:00
DONATORS If we receive a packet from a node we are searching for, ping it. 2015-12-08 15:43:03 -05:00
INSTALL.md docs(INSTALL.md): update instructions for Gentoo 2016-08-20 19:44:50 +01:00
libtoxav.pc.in Build system fixes. 2014-12-18 10:04:31 -05:00
libtoxcore.pc.in Build system fixes. 2014-12-18 10:04:31 -05:00
Makefile.am Fixed make dist. 2015-06-24 21:03:16 -04:00
README.md Update readme with tentative roadmap, removed old todo.md 2016-08-14 12:03:26 -07:00
tox.spec.in Add spec file for rpm generation 2015-03-04 00:35:25 +01:00

Project Tox


Current build status: Build Status Current Coverage: Coverage Status

Website | Wiki | Blog | FAQ | Binaries/Downloads | Clients | Compiling

IRC Channels: #tox@freenode, #toktok@freenode

Q&A:

What is Tox?

Tox is a fully encrypted, censor resistant, private, distributed network library with a focus on personal communications.

No, really, what's Tox?

It's a VERY secure Instant Messenger that supports Text, Audio/Video calls, group chats, audio group chats, and file transfers.

What are your goals with Tox?

We want Tox to be as simple as possible while remaining as secure as possible.

Toxcore Roadmap

This Roadmap is somewhat tentative, but should give you a good idea of where we're going, and where we've been.

Currently unsorted, the following is intended to function as a discussion guide to developers/contributors.

In Progress

  • 100% unit testing
  • Make toxcore stateless
  • Allow a single toxcore instance to handle multiple keypairs
  • Implement usable group chats
  • Improve A/V implementation
  • Multiple device support
  • Consistent naming scheme throughout toxcore

Done

  • Create Toxcore
  • Create DHT
  • Create Onion
  • Implement Crypto
  • Create Messenger

Documentation:

The Complex Stuff:

UDP vs. TCP

Tox must use UDP simply because hole punching with TCP is not as reliable. However, Tox does use TCP relays as a fallback if it encounters a firewall that prevents UDP hole punching.

Connecting & Communicating

Every peer is represented as a byte string (the public key [Tox ID] of the peer). By using torrent-style DHT, peers can find the IP of other peers by using their Tox ID. Once the IP is obtained, peers can initiate a secure connection with each other. Once the connection is made, peers can exchange messages, send files, start video chats, etc. using encrypted communications.