
14 Aug
2009
14 Aug
'09
5:03 p.m.
Hello Paolo,
I'm using the boost library to create and manage a UDP socket. I was wondering if there is a way to know the public address of my machine using the boost classes.
Using a resolver to retrieve the address from the host name seems to do the trick:
#include <iostream>
#include