Situation - I'm writing a few daemons which will use tcp and/or udp.
Currently it's all ipv4, but eventually we will also want to do ipv6.
Simple question: for development purposes, is it okay to treat
everything as ipv6? I.e. always expect ipv6, even if it's really an
ipv4 address represented as ipv6? I guess there are certain situations
where I have to expect both kind of addresses - dns lookup for
instance. Or does get{addr|host}info() have an ipv6 variation?
/Per Jessen, Zürich
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
On Friday 18 September 2009 09:39:16 Per Jessen wrote:
> Does anyone know how to do this?
One way would be to use mmap(2) to allocate it, with only PROT_READ as the
flag
Seems to me though that unless you are mapping a file from disk, or some other
volatile memory from an external source, you will want to write to it at least
once though, so you should probably allocate it with PROT_READ | PROT_WRITE,
and after putting whatever data you want in there, change the permission flag
with mprotect(2)
Anders
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Does anyone know how to do this?
/Per Jessen, Zürich
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Broadcast message from ml-admin(a)opensuse.org
(/dev/pts/0) at 07:30 GMT ...
The system is going down for halt NOW!
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
On Thursday 03 September 2009 01:50:50 Sascha 'saigkill' Manns wrote:
> /usr/src/packages/BUILD/skrooge-0.5.0/skgbasegui/skgmainpanel.cpp:1165:
> error: 'naturalCompare' is not a member of 'KStringHandler'
You may need to update your KDE. naturalCompare was introduced in KDE 4.1
See
http://api.kde.org/4.x-api/kdelibs-
apidocs/kdecore/html/namespaceKStringHandler.html#a9b37c59c14a5427ba9f496325ccedc50
Anders
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org
Hello Mates,
my build on openSUSE 11.0 i get the Error:
[ 13%] Building CXX object skgbasegui/CMakeFiles/skgbasegui.dir/skgmainpanel.o
/usr/src/packages/BUILD/skrooge-0.5.0/skgbasegui/skgmainpanel.cpp: In static
member function 'static bool SKGMainPanel::naturalLessThan(const QString&,
const QString&)':
/usr/src/packages/BUILD/skrooge-0.5.0/skgbasegui/skgmainpanel.cpp:1165: error:
'naturalCompare' is not a member of 'KStringHandler'
make[2]: *** [skgbasegui/CMakeFiles/skgbasegui.dir/skgmainpanel.o] Error 1
make[1]: *** [skgbasegui/CMakeFiles/skgbasegui.dir/all] Error 2
The Line in the Source is:
bool SKGMainPanel::naturalLessThan(const QString &s1, const QString &s2)
{
return (KStringHandler::naturalCompare(s1, s2,
Qt::CaseInsensitive)<0);
}
What can i do to fix it?
--
Sincerely yours
Sascha Manns
openSUSE Ambassador
openSUSE Marketing Team
openSUSE Build Service
Web: http://saschamanns.gulli.to
Project-Blog: http://lizards.opensuse.org/author/saigkill
Private-Blog: http://saschasbacktrace.blogspot.com
--
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-programming+help(a)opensuse.org