[libnice] How to use PseudoTCP

Youness Alaoui kakaroto at kakaroto.homelinux.net
Thu Jul 24 05:39:55 PDT 2014


PseudoTCP is a TCP over UDP implementation, there is no 'accept' because
there are no connections on UDP, when you bind your UDP socket, you will
receive packets on it and you can use recvfrom to get the source IP/port,
but you don't need to accept the incoming connection since UDP is
connection-less. That's why there is no such API for PseudoTCP.

I hope this helps,

On Thu, Jul 24, 2014 at 3:23 AM, FerrenLiu <ferrenliu at 163.com> wrote:

> Dear all,
>     I want to implement a tcp server using PseudoTCP.  But I can't found
> the API like 'accept' to accept a new connect from TCP Client. Who can give
> me a cue? Very thanks.
> Ferren
> _______________________________________________
> nice mailing list
> nice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nice/attachments/20140724/81143236/attachment.html>

More information about the nice mailing list