Winsock API should be the least of your worry. You should be
able to port your code as it is.
If you have used MFC in your application, you can always
turn 'using MFC' option on in ATL, however, I would
rather develop my app as an MFC app if I had to use MFC.