Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

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

JLuna5
New Contributor I
172 Views

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
172 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
172 Views

Have you tried to use extern "C" keyword?

JLuna5
New Contributor I
172 Views

Melanie Blower thak you!

JLuna5
New Contributor I
172 Views

Hi iliyapolak thabk you!

Reply