Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JLuna5
New Contributor I
107 Views

How to communicate a c socket with cpp socket on linux.

Good day, I'm trying to make a socket communication between c socket and cpp socket, but it don't functin me, who can help me?

 

Thank you!

0 Kudos
4 Replies
Melanie_B_Intel
Employee
107 Views

You can use a "linkage specification" to interface between C++ and C

Here's a reference, http://en.cppreference.com/w/cpp/language/language_linkage

Bernard
Black Belt
107 Views

Have you tried to use extern "C" keyword?

JLuna5
New Contributor I
107 Views

Melanie Blower thak you!

JLuna5
New Contributor I
107 Views

Hi iliyapolak thabk you!

Reply