Re: difference between windows socket and Csocket Class

Tech-Archive recommends: Fix windows errors by optimizing your registry



Additionally, check your previous questions/threads on this NG for answers
Arkady

"Chris Becke" <chris.becke@xxxxxxxxx> wrote in message
news:OFWJjqd7GHA.2120@xxxxxxxxxxxxxxxxxxxxxxx
"Muhammad Azeem Azam" <MuhammadAzeemAzam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in
message news:03919BE2-EBD2-4513-BFF7-356197ED2CC8@xxxxxxxxxxxxxxxx
what is the difference between windows socket and Csocket Class regarding
functions.
does CSocket class is inherited from windowsockets.
is the implementation of windows socket and Csocket Class is different?

A CSocket - like all of MFC, is a relativly simple wrapper wround a
windows
socket. When your code creates a CSocket, it in turn, creates a windows
socket, but you get a c++ type interface to deal with it. Which has its
plusses if youre obsessed with everything looking like an object. Or
minuses, if you try to do anything with the socket that the CSocket
implementors didn't think of.





.



Relevant Pages

  • Re: difference between windows socket and Csocket Class
    ... is the implementation of windows socket and Csocket Class is different? ... A CSocket - like all of MFC, is a relativly simple wrapper wround a windows ...
    (microsoft.public.win32.programmer.networks)
  • Re: difference between windows socket and Csocket Class
    ... CSocket is a very poorly designed class as it offers ... Microsoft MVP, MCSD ... is the implementation of windows socket and Csocket Class is different? ...
    (microsoft.public.win32.programmer.networks)
  • Re: Socket.Disconnect Method
    ... Although the exception list in the MSDN documentation ... Windows XP SP2. ... An error occurred when attempting to access the socket. ... use the SocketException.ErrorCode property to obtain the specific error code. ...
    (microsoft.public.vsnet.general)
  • Re: Bug with Socket
    ... replace the following functions in MSocketSupport and CSocket. ... are you ignoring any specific socket errors? ... Dim strTemp As String ... Winsock API function ...
    (microsoft.public.vb.bugs)
  • Re: Socket.Disconnect Method
    ... method that only worked on platforms prior to Windows ... method is supported on Windows 2000 and Windows 98, ... An error occurred when attempting to access the socket. ... It looks to me like the underlying error code could have been: ...
    (microsoft.public.vsnet.general)