I am trying to use the winsock and afxsock libraries to write a program where I can send and reciving objects via sockets. When I execute my program I get a debug assertion failure in the file afxwin1.inl(this file is part of the socket library). This failure occurs when I make the call socket.create() where socket is an instance of class CSocket.
Would you know why this error occurs? Do you have a sample
program that uses the sockets in c++ to send/recive objects.
any help would be appreciated