|
Re: retrieving local ip address: msg#00027lib.boost.asio.user
Themistoklis Bourdenas wrote: > I am running on WinXP pro sp2 and compile with VC8.0. > > Some corrections to my previous post. I don't get a "class not found" > exception from endpoint::address(), however it returns "0.0.0.0" (I was > trying to resolve a query with its retval which caused the exception). I > give you below a part of the code that I have the problem. The cout > prints "0.0.0.0", is this what it should do before no communication has > been done through the socket yet? Ah, 0.0.0.0 is the "any" address, and just means that the socket has not been bound to an individual network interface. That's normal (although the error message is a little confusing, but must just be what Windows decides to give you in that case). Cheers, Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | memory leak in udp roundtrip example?: 00027, Charlls Quarra |
|---|---|
| Next by Date: | Re: memory leak in udp roundtrip example?: 00027, Christopher Kohlhoff |
| Previous by Thread: | Re: retrieving local ip addressi: 00027, Themistoklis Bourdenas |
| Next by Thread: | Re: retrieving local ip address: 00027, Jeff Koftinoff |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |