943,929 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 10300
  • C RSS
Feb 2nd, 2005
0

help in C, Find local Ip address

Expand Post »
does anybody know how can i find my local ip address ? should i use getsockname() or is bind() is enough to give my ip, port and family?

Alaa G
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
allomeen is offline Offline
9 posts
since Jan 2005
Jul 27th, 2006
-2

Re: help in C, Find local Ip address

Hey ...
know your problem....
i had it a few moths ago...

here's a link to a solution....:
http://www.codecity.org/forum/viewtopic.php?pid=41#p41


hope this helps...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dust_wind is offline Offline
1 posts
since Jul 2006
Jul 27th, 2006
0

Re: help in C, Find local Ip address

Hi dust_wind, welcome to DaniWeb

We definitely encourage anyone to participate in currently-active threads if they feel they can be of help, but we do ask members check the age and status of threads before responding to them. Threads marked as "Solved", or threads which have been inactive for more than a few months, should be left dormant.
Responding to such "dead" threads percolates them up into the page of active topics, which takes the focus of attention away from the active threads. If you see a thread which has had no responses for a few months or more, its best to leave it as is, as it's fairly unlikely that the original poster is still looking for input.

Thanks for understanding.
DMR
Team Colleague
Reputation Points: 221
Solved Threads: 369
Wombat At Large
DMR is offline Offline
6,439 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in C Forum Timeline: Direct Sound Help (Creating a sound buffer)
Next Thread in C Forum Timeline: Problem in Reading Array Variable





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC