From: Sparrow Newsgroups: comp.os.msdos.djgpp Subject: Winsock Difficulties Date: Thu, 13 Jul 2000 22:45:39 GMT Organization: Deja.com - Before you buy. Lines: 26 Message-ID: <8klgqg$6st$1@nnrp1.deja.com> NNTP-Posting-Host: 209.197.27.124 X-Article-Creation-Date: Thu Jul 13 22:45:39 2000 GMT X-Http-User-Agent: Mozilla/4.51 [en] (Win95; U) Proxy/4.02 (www.analogx.com) X-Http-Proxy: 1.0 x68.deja.com:80 (Squid/1.1.22) for client 209.197.27.124 X-MyDeja-Info: XMYDJUIDthe_mr_sparrow To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com After I finally managed to successfully compile the WSock chat demo, I run them and get strange errors. For example, when running CHAT1.EXE, I get the following error messages: Wsock: Function SOCKET(110) returned WSAEAFNOSUPPORT - Address family not supported by this protocol(273f) Wsock: Function CONNECT(103) returned WSAEINVAL - Invalid argument(2726) CHAT2.EXE gives the following error in an endless loop: Wsock: Function ACCEPT(100) returned WSAEINVAL - Invalid argument(2726) None of the other included programs appear to work at all. In order to compile, the "stdcx" library (LIBSTDCX.A) was needed. I didn't have this file, so I renamed LIBSTDCXX.A to LIBSTDCX.A and it compiled fine. This very well may have caused the error. If that could be it, where can I find LIBSTDCX.A? Or is it a winsock problem? Any help would be very much appreciated. -- -Sparrow themrben AT hotmail DOT com Sent via Deja.com http://www.deja.com/ Before you buy.