You Are Here:

Community: Wiki

 

Talk:Getting Host's IP addresses and Interfaces

From Forum Nokia Wiki

At sometimes in web-based applications, we need to know the listing of host's IP address and network interfaces. This article simply represents the code for the same. The aricle contains introduction of the article and also presents about basic platform and APIs it has used. The class here used for doing this task is "QNetworkInterface". You should note that all the methods in the class are reentrant. "allAddress()" method of this class is used to obtain the IP address and "allInterface()" method is used to get the network interface.

The article has represented the code in a systematic manner. The article can be useful to beginner as well as intermediate developers.

--Deepikagohil 16:02, 10 September 2009 (UTC)


Article shows the use of the QNetworkInterface and QHostAddress. Header and source file code shows complete mode of application. Merging this to another application make that application very grand.


[--Fasttrack 20:01, 18 September 2009 (UTC)]

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia