libuvpp - porting UDT to libuv to bring P2P service easily

286 views
Skip to first unread message

tom

unread,
Oct 27, 2012, 9:00:27 AM10/27/12
to li...@googlegroups.com
Porting UDT(UDP-based transport) to libuv as the transport of HTTPP(run http over udp).

All api is similar to tcp. it's simple to use it:
1. replace tcp litera with udt, like uv_tcp_t to uv_udt_t.
2. the rest of things is same with TCP.

With libuv-udt, we can bring p2p service easily.

I opensouce it on github:

https://github.com/InstantWebP2P/libuvpp

Best regards
  Tom

Saúl Ibarra Corretgé

unread,
Oct 28, 2012, 3:25:57 PM10/28/12
to li...@googlegroups.com
Hi,
Thanks for sharing! I'm curious, why did you need to fork libuv? Can't
the new handle be implemented in a separated app which links with libuv?


Regards,

--
Sa�l Ibarra Corretg�
http://saghul.net/blog | http://about.me/saghul

Tom Zhou

unread,
Oct 29, 2012, 4:00:57 AM10/29/12
to li...@googlegroups.com
Building UDT on top of libuv is a plan. This time, I just ported C++ UDT4 to libuv.

Best regards
  Tom


On Monday, October 29, 2012 3:26:01 AM UTC+8, Saúl Ibarra Corretgé wrote:
Hi,

tom wrote:
> Porting UDT(UDP-based transport) to libuv as the transport of HTTPP(run
> http over udp).
>
> All api is similar to tcp. it's simple to use it:
> 1. replace tcp litera with udt, like uv_tcp_t to uv_udt_t.
> 2. the rest of things is same with TCP.
>
> With libuv-udt, we can bring p2p service easily.
>
> I opensouce it on github:
>
> https://github.com/InstantWebP2P/libuvpp
>

Thanks for sharing! I'm curious, why did you need to fork libuv? Can't
the new handle be implemented in a separated app which links with libuv?


Regards,

--
Sa�l Ibarra Corretg�
http://saghul.net/blog | http://about.me/saghul
Reply all
Reply to author
Forward
0 new messages