in reply to Using Inline.pm

C socket code can't be just copied from a unix environment to Windows, and expected to work. Windows uses winsock.h, for example, instead of socket.h, so you're going to have to do a little porting.

C.