Author: James Swafford
Date: 17:16:16 03/15/00
I'm at the point now that I'm ready to set up data exchange between my Windows GUI and linux based console engine. In the GUI, I've called the WSASTARTUP( ) function, and it didn't produce any errors. The socket function refuses to create a SOCKET. Here's the proto for socket(): SOCKET socket(int address_family,int connection_type,int protocol); I'm trying to use PF_INET (AF_INET) for the address family, of course. I'd prefer a connection oriented connection, so I'm using SOCK_STREAM next. Regardless of what I try for protocol (TCP, etc.), I get a -1 from WSALASTERROR. I don't have a network adapter in the piece right now, so I'm not sure if that's the problem. Seems to me that I should at least be able to create the socket, just not bind it. Help greatly appreciated. -- James
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.