Have you made sure that the connect-calls really work (check the return codes)?

You might also want to monitor network traffic, or try telnet to check if connecting to that port produces any output (telnet 192.168.1.2 8168).