I need to write a small application that runs on a Windows Mobile 5 based device. All I need it to do is listen to a port and return whatever it sees. I have searched all over and can't find a good resource for this. I have found many sites about WinSock in general, but the library doesn't seem to be the same. When I include the generic ws2_32.lib for a WM5 project, I get a link error. This is using C++ in Visual Studio 2005.

Can someone give me some help here pls?