   Easy network API
  Hello guys!I know how to program a basic winsock 1 and 2 client/server application in Visual C++.. But I used to program Visual Basic and I miss using the ActiveX control called MSWINSCK.OCXTwo questions:Is there any similar, easy and polite network API to use for VC++?Is there any way to use MSWINSCK.OCX without using MFC?(I know how to use the Win32 API but not MFC)Thank you!cheers franky[edited by - franky on February 11, 2004 5:53:41 PM]
  There are some good tutorials, if u email me i may reply with the winsock class that i wrote...http://www.gamedev.net/reference/articles/article1494.asphttp://www.hal-pc.org/~johnnie2/winsock.html...although probably not, it would cheat u out of a good FUN learning experience. But id be glad to try to answer any questions. ;  sorry sorry sorry, it would help if i read your post first.Since you already know how to use winsock, just class it up. Give a class a SOCKET and a connect, listen, close, send, receive, functions. ;  maybe have a look at HawkNL http://www.hawksoft.com/hawknl/ ;  http://www.libsdl.org/projects/SDL_net/SDL_net is pretty straight forward, i recommend it.  you need to use regular SDL package too, but its cross platform, and that is super keen. ;  Thank you for all your replies!I will study this tutorial http://www.gamedev.net/reference/articles/article1494.aspand look into SDL and HawkNL..I tried to e-mail you for your network class honayboyz, but I can find your e-mail adress? ;  if you want you can also use an activex control from within c++ -- some googling will turn it upi warn you though, that dealing with com from c++ can be a bit messy ;  I have been googling for many days now and nothing have with Win32 API and ActiveX have turned up, they are all based on MFC..So it is possible PoesRaven  Have you actually used a Microsoft ActiveX control without MFC? If you know a place where I can find more information about this please let me know!!   [edited by - franky on February 14, 2004 5:55:03 AM];  well, i only did a quick google, and i havent done com in a very long time, but these look accurate:http://www.cascadia.ctc.edu/facultyweb/instructors/mpanitz/COM_Tutorial/http://www.geocities.com/SiliconValley/Grid/2832/comgame.htmlhttp://www.developer.com/net/cplus/article.php/629771 ;  Thank you for the website urls PoesRaven I followed this tutorial:http://www.developer.com/net/cplus/article.php/629771 to set up an ATL Project, but when I tried Project -> Add To Project -> Components And Controls -> Registered ActiveX Controls -> Microsoft WinSock Control, version 6.0 I got the message the component and controls gallery can not be used to add ActiveX control to projects that are supported by classwizard.How do I get around this? 