Search
 
SCRIPT & CODE EXAMPLE
 

CPP

qt get wireless interface name

QNetworkInterface interface;
QList<QNetworkInterface> IpList = interface.allInterfaces();
for (int i = 0; i < IpList.size(); i++){
    if (IpList.at(i).type() == QNetworkInterface::Wifi){
    	qDebug() << "Current wireless interface is: " << IpList.at(i).humanReadableName();
    }
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: product of array in cpp 
Cpp :: go to particular place in vector using iterator 
Cpp :: can you add a bool and an int 
Cpp :: file is good in c++ 
Cpp :: hamming c++ 
Cpp :: what type is this c++ 
Cpp :: sort vector in c 
Cpp :: c++ insertion in astack 
Cpp :: how to extract a bit from a byte in c++ 
Cpp :: 2000pp pp play osu std 
Cpp :: float to byte array and back c++ with memcpy command 
Cpp :: GoPro camera for kids aus 
Cpp :: add two constant char pointers c++ 
Cpp :: __aeabi_assert() 
Cpp :: ordine crescente "senza" vettori in c++ 
Cpp :: c++ read_ascii 
Cpp :: what are manipulators in c++ 
Cpp :: c++ unordered set count 
Cpp :: assignment of single field in struct in solidity 
Cpp :: c++ program to use nmap 
Cpp :: ue4 foreach loop c++ 
Cpp :: vector übergeben c++ 
Cpp :: 1672. Richest Customer Wealth leetcode solution in c++ 
Cpp :: infix to prefix using cpp linked list program 
Cpp :: permutation and combination program in c++ 
Cpp :: onactorbeginoverlap c++ 
Cpp :: irremoteesp8266 example 
Cpp :: c++ get last element in array 
Cpp :: binpow in fenwick tree 
Cpp :: how to change the type of something in c++ 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =