Some searching says it doesn't exist in Mac OS X: http://lists.apple.com/archives/macnetworkprog/2002/Dec/msg00091.html But they have an equivalent. Curiously, my very simple webserver worked when hardcoding the constant =P http://wiki.lazarus.freepascal.org/Networking#Webserver_example -- Felipe Monteiro de Carvalho