For the xml file name, on Windows use two backslashes to separate directories, i.e., use
xmlFileName="C:\\examples\\dymola-room\\socket.cfg"
function establishClientSocket input String xmlFileName = "socket.cfg" "Name of xml file that contains the socket information"; output Integer socketFD "Socket file descripter, or a negative value if an error occurred"; end establishClientSocket;