Ethereal-users: Re: [Ethereal-users] Windows Sockets Revisited

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 24 Jul 2003 18:00:16 -0700

On Thursday, July 24, 2003, at 3:45 PM, Warren Auld wrote:

The error message now says;
"Couldn't initialize Windows Sockets: Bad pointer passed to
WSAStartup"

That's bizarre, as we're just passing it a pointer to a variable on the stack.

Perhaps WSAStartup returns that error (WSAEFAULT) for reasons having nothing to do with the pointer; the only thing I can think of is that the version of Winsock in your Windows 98 system requires that variable to be bigger (a data structure with more elements) than it is on the system on which Ethereal was built (in which case perhaps we need to provide a different "highest version of Windows Sockets support that the caller can use" argument, or something such as that).