On 2 May 2011 10:28, Stefan Seyfried <stefan.seyfried at googlemail.com> wrote: > On Sun, 1 May 2011 18:13:34 -0400 > Rich Felker <dalias at aerifal.cx> wrote: > >> > > + char *host = (char *)"0.0.0.0"; >> >> This cast is a no-op. > > I think it's not. "0.0.0.0" is a (const char *) IIUC. There's no need to recast just for a const. Chris