When was your libcod compiled? (post first few lines of the startup log)
Because it is possible it wasn't supported then yet. (ip support for 1.0 was added around 2 months ago)

libcod versions...