Ethereal-dev: Re: [Ethereal-dev] [Patch] Etheral reads from socket

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

From: "Peter Johansson" <Peter.Johansson@xxxxxxxxxxxx>
Date: Mon, 4 Jul 2005 12:34:42 +0200 (CEST)
Thomas Steffen said:
> On 7/4/05, Ulf Lamping <ulf.lamping@xxxxxx> wrote:
>> - I assume the changes won't work with Win32, e.g. the #include's in
>> capture_loop.c will probably won't work on win32 and maybe not on "other
>> unixes" as well
>
> I would like to help here, but I never did serious network development
> on Windows. Any volunteer?

The following includes:
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
should be replaced by
#include <windows.h>
#include <winsock2.h>
on Windows.

Regards, Peter