0x273F = 10047 decimal
errors in the 10000 range are Winsock errors, and can be found in Winsock2.h
#define WSAEAFNOSUPPORT (WSABASEERR+47)
Which typically means that the protocol you are trying to use isn't installed , or isn't bound to the NIC you're trying to use. In this case that's probably not the issue.
The issue is probably a 16-bit vs 32-bit application issue, or an aligmnent issue, or maybe even has to do with something .NET related.
When you opened the SDK code in VB2008 (or VB2010) did it ask you you about 'converting' the project?