Right. I've replaced the following line to:
// InSim connection settings
InSimSettings Settings = new InSimSettings("127.0.0.1", 25555, 0, Flags.InSimFlags.ISF_MSO_COLS | Flags.InSimFlags.ISF_MCI, '!', 500, AdminPW, "^1[^4RAF^1]", 5);
That should connect... but it doesn't...... Would you like to see my LFS DEDI setup.cfg to?