differnece between winsock and csocket
-
when i can use winsock/winsock2 OR CSocket/CAsynsSocket
-
when i can use winsock/winsock2 OR CSocket/CAsynsSocket
Muhammad Azeem Azam wrote:
winsock/winsock2
Windows Sockets 2 is designed for use by C/C++ programmers. Run-Time Requirements Windows Sockets 2 can be used on all Windows platforms.
Muhammad Azeem Azam wrote:
CSocket/CAsynsSocket
Class CSocket derives from CAsyncSocket and inherits its encapsulation of the Windows Sockets API. A CSocket object represents a higher level of abstraction of the Windows Sockets API than that of a CAsyncSocket object. CSocket works with classes CSocketFile and CArchive to manage the sending and receiving of data. This is an MFC approach to use Sockets. User's working on C/C++ and WIN32 applications can use winsock etc...
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_