On Wed, Dec 4, 2019 at 5:21 PM FAN DEAR <myd...@gmail.com> wrote:
>
> First of all, thank you very much for your reply.
> Actually, what I want to do is to use golang to complete the TCP 
> communication SDK.
> When C++ calls golang to send a message,
> I need to tell the C++ message sending status at the appropriate time, such 
> as sending failed, sending successfully, and the reply received.
> Here are some code snippets:

When calling between C++ and Go, you need to call functions by name.
You can't use an interface.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWkSmxGRHrhp-m9F1%3DuZ00z8DbHDHNz%3DkPgjzrGY2ERPA%40mail.gmail.com.

Reply via email to