[Q] how to setup specific ip address for wxIPV4address object.
Yu Hui Yang
yhuiyang at gmail.com
Mon Apr 9 10:40:17 PDT 2007
Hi, there
I am new to wxWidget. I think this is a basic question, but I can't
find clue in the list...
I want to build a program which only listens on a specific ip address
on my machine. I have got the ip list of my machine, but I didn't find
method of wxIPV4address to setup this socket address object. What I
tried was:
wxIPV4address local;
local.LocalHost(); // only bind to 127.0.0.1
local.AnyAddress(); // bind to all ip of my machine
Could someone give me a clue, please... Thanks.
More information about the wx-users
mailing list