Raw sockets are disabled with certain updates and patches. If you want to use tcp over raw sockets in Windows XP, you need to make certain these patches are removed.