Since kcp implements a byte stream interface (as does tcp), probably you
could implement grpc_endpoint for it, and layer chttp2 atop that.

An example of setting the stack up on top of an endpoint is contained in
channel_create_posix.c and server_chttp2_posix.c (for client and server
respectively).

The idea would be: create a grpc_endpoint that wraps kcp, then wrap it with
a transport, then a channel, and then bind it into the stack.

On Fri, Jan 13, 2017 at 3:44 PM 'Carl Mastrangelo' via grpc.io <
grpc-io@googlegroups.com> wrote:

> You would have to implement your own transport.  I don't think there are
> any public examples of how to do this today.  Java has some, but I am not
> sure for C++.
>
>
> On Friday, January 13, 2017 at 12:34:45 PM UTC-8, kk1...@nyu.edu wrote:
>
> Hi,
>
> I'm interested in trying out gRPC on the top of KCP protocol
> https://github.com/skywind3000/kcp/blob/master/README.en.md , can anyone
> point me out which files I should look for this custom port (C++)?  And I
> also wonder how doable this is.
>
> Thanks,
> Kibeom
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/672ee597-ba05-495a-9923-5339df1f710e%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/672ee597-ba05-495a-9923-5339df1f710e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAAvp3oOvTWewKsON_-tuGrN7xCG_cjcD0BSKCDpHHoBj2JYiRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to