tags:

views:

39

answers:

1

In a Qt application, I'm trying to call the networking function connect() (which is from sys/socket.h). The call's being made from a QObject object, which has its own connect() member function. The QObject's connect() method is preventing me from calling the networking connect() function.

Any way to use the networking connect()?

+6  A: 

C++ member function masking external function - how to call external function?

Use

::connect()
SigTerm
It's good practice to use this syntax for all calls to global scope.
jmanning2k