[Winpcap-users] TCP/IP stack - reinventing the wheel
Ramiro Polla
ramiro86 at hotmail.com
Tue Aug 15 19:07:41 GMT 2006
Hello,
It is meant for embedded hardware. But it does communicate well with any
other TCP/IP stack.
The code is very generic and simple (always uses 8-bit bytes, no words or
dwords) so that it will compile on most non-C-compliant proprietary
compilers. Gcc optimizes it very well. It does a good job on finding out
what could be 32-bit and making it good for the processor.
I`d say It`s worth the try.
Ramiro Polla
>From: "Thomas O'Hare" <Tom at RedTile.Com>
>Reply-To: Tom at RedTile.Com, winpcap-users at winpcap.org
>To: winpcap-users at winpcap.org
>Subject: Re: [Winpcap-users] TCP/IP stack - reinventing the wheel
>Date: Tue, 15 Aug 2006 17:03:03 +0000
>
>Ramiro
>
>Sounds nerdy enough for me to get happy about. But it says for 8 or 16
>bit controllers. IOW, I get the feeling it is for embedded or
>proprietary hardware.
>
>I think Mark needed at least 32 bit stuff.
>
>Am I missing something?
>
>Thanks,
>~ Thomas O'Hare ~
>President, RedTile, Inc. - DBA: RedTile Software
>Web, Wireless, Network, Database & Systems Software
>+1.407.295.9148 ; +49.8651.717950 ; http://www.RedTile.Com/
>Operations Manager; Virtual FoxPro User Group
>Tom at VFUG.Org ; http://www.VFUG.Org/
>
>
>Ramiro Polla wrote:
> > Hello Mark,
> >
> > Try uIP. It's very nice, and it has a windows port.
> >
> > www.sics.se/~adam/uip/
> >
> > Bye,
> > Ramiro Polla
> >
> >> From: "Mark Buchanan" <Mark.Buchanan at giffels.com>
> >> Reply-To: winpcap-users at winpcap.org
> >> To: <winpcap-users at winpcap.org>
> >> Subject: [Winpcap-users] TCP/IP stack - reinventing the wheel
> >> Date: Tue, 15 Aug 2006 11:31:22 -0400
> >>
> >> My question is similar to one that has been asked but with a
>significant
> >> difference.
> >>
> >> Basically what I would like to do is have one adapter act as multiple
> >> computers (with separate IP address) on a network. I don't see a simple
> >> way to do this without coding the entire TCP/IP stack to handle all
> >> packets related to the protocol. The IP addresses would be predefined
>in
> >> a text file that the application would read at start up. MAC addresses
> >> would also be predefined in the same file. The application would then
> >> act as a server accepting TCP/IP connections from one or more clients
>on
> >> each IP address defined. This would all be done in Windows on .NET
> >> platform. Is there code out there that can be copied and adapted by an
> >> average programmer like myself - or am I crazy to consider doing such a
> >> project?
> >>
> >> The alternative is to put multiple adapters in a single PC - this could
> >> create quite the wiring mess if the node count gets high.
> >>
> >> A bit of background:
> >>
> >> I have successfully used WinPCAP encapsulated in a simple DLL file
> >> (functions called by .NET application) to simulate multiple Ethernet
> >> nodes in a non-TCP/IP environment. One application running on one PC
> >> simulating 63 controllers that accepts up to 4 connections /
>controller.
> >> To do this the code handles the entire OSI-COTP stack accepting and
> >> sending all packets on the wire. This sounds like a lot of effort but
> >> was make easier because the stack in this case was fairly simple.
> >> --------------------------------------------------------
> >>
> >>
> >> Mark Buchanan
> >>
> >>
> >> Senior Engineer, Controls Systems
> >> Giffels Associates Limited
> >>
> >>
> >>
> >> Mark.Buchanan at giffels.com | T 416 675 9750 Ext. 5253 | F 416 798
> >> 5559 | giffels.com
> >>
> >>
> >> This communication is intended solely for the addressee(s) and
> >> contains information that is privileged, confidential
> >> and subject to copyright. Any unauthorized use, copying, review or
> >> disclosure is prohibited. If received in error,
> >> please notify us immediately by return e-mail.
> >>
> >>
> >> --------------------------------------------------------
> >>
> >> _______________________________________________
> >> Winpcap-users mailing list
> >> Winpcap-users at winpcap.org
> >> https://www.winpcap.org/mailman/listinfo/winpcap-users
> >
> >
> > _______________________________________________
> > Winpcap-users mailing list
> > Winpcap-users at winpcap.org
> > https://www.winpcap.org/mailman/listinfo/winpcap-users
>_______________________________________________
>Winpcap-users mailing list
>Winpcap-users at winpcap.org
>https://www.winpcap.org/mailman/listinfo/winpcap-users
More information about the Winpcap-users
mailing list