IP string to const char

Hello,

how can I convert a IP string read in with XMLSettings to a const char[15].
regards.

string udpOutIP = XML.getValue(“settings:udpOutIP”, “192.168.178.30”);

udpConnectionOut.Create();
udpConnectionOut.Connect(“192.168.178.30”, udpOutPort);

That is super easy!

udpConnectionOut.Connect(udpOutIP.c_str(), udpOutPort);