[Tox Support] Tox chat advice needed
nurupo
nurupocontributions at gmail.com
Fri Nov 11 02:04:26 UTC 2016
Hello,
If all you want is a library for network communication that implements NAT
pass-through, you might want to look into Raknet library or find similar
libraries.
http://www.jenkinssoftware.com/raknet/manual/nattraversalarchitecture.html
http://www.jenkinssoftware.com/raknet/manual/natpunchthrough.html
You could use Tox in your application, but it might be an overkill for what
you need. All Tox clients use Toxcore library for networking and
encryption. Toxcore encrypts all the communication and it doesn't allow you
to specify an IP address of the person you want to connect to, you have to
use ToxID instead of IP. Toxcore uses DHT to perform the lookup of the
IP:port of the person you want to connect to based on the ToxID, and it
keeps the IP:port information internally, it's not exposed in the public
API of Toxcore. Because Tox participates in DHT, interacting with other DHT
peers, it uses some extra bandwidth, which might not be desirable for your
use. It can easily use a few hundred of MiBs of bandwidth in an hour. If
this is fine by you, then you might be interested in looking at
https://github.com/TokTok/c-toxcore/blob/master/toxcore/tox.h
On Thu, Nov 10, 2016 at 3:20 PM, Nocs ... <NoCos30 at hotmail.com> wrote:
> Hello to all,
>
>
> First of all thanks and congruts for the great chat and finally p2p with
> no servers needed :)
>
> I was stumble upon NAT and connections between two ips for a very long
> time until someone eventually pointed me at this very good application.
> Exactly what i was looking for.
>
>
> To short things out for what i would like as an advice is that i am newbie
> c++ developer and i would like to use
>
> only the connections of tox chat not the interfave cause i allready have
> my own but i found hard to understand which of all the clients or which
>
> open source git to search for.
>
> I would like to use the tox only for windows for the time being not posix
> or at least only windows, macintosh and linux
>
> so i want to find where to start from, which git should i download of them
> all and a small way to find only the connections from inside this
> wonderfull chat. (create socket, bind socket, listen socket, send and
> recieve message with the ips others or ids)
>
> I dont want the interface neither any fancy stuff, i just want to be able
> to find the code that connects 2 pc`s or more through internet so i can
> attach it to my own interface.
>
>
> Thank you in advance
>
>
>
>
> _______________________________________________
> Support mailing list
> Support at lists.tox.chat
> https://lists.tox.chat/listinfo/support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tox.chat/pipermail/support/attachments/20161110/19904207/attachment.html>
More information about the Support
mailing list