[lwip-users] How to set the lwip configuration under win32

2008-07-09 Thread zhou yi
Dear all: Follow the suggestion, using the wordpad.exe to fix all the dsw and dsp, I can open test.dsw in vc6. I have one ethernet card, so I change lwipcfg_msvc.h as following #define PACKET_LIB_ADAPTER_NR 1 #define LWIP_PORT_INIT_IPADDR(addr) IP4_ADDR((addr), 192,168,0,200) #def

Re: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread [EMAIL PROTECTED]
After making the same mistake, I think you don't need a bridge: could it be that your 2 instances of lwIP are running with the same MAC address? This is not covered by the netif used with the win32 port: you have to change the MAC address for pktif.c at line 131 to prevent using the same MAC ad

RE: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread Bill Auerbach
> You need something, either in the network, or a software bridge, that > will know that they are both on the same machine and route the packets > back again. On Linux it is relatively easy to set up a software bridge > to do this, but I'm not sure how you would do it on Windows. In Settings -> N

Re: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread [EMAIL PROTECTED]
As far as I know, lwIP receives outgoing packets if used with the win32 driver (which uses the winpcap library). So as far as I know, this should be no problem. I'll try to re-check it it here... Simon Kieran Mansley wrote: On Wed, 2008-07-09 at 12:16 +0200, Antonio de Angelis wrote: UPDA

Re: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread Kieran Mansley
On Wed, 2008-07-09 at 12:16 +0200, Antonio de Angelis wrote: > UPDATE: I've tried to put the server process on a different machine on > my home network, and it seems to work. But I want to make it work on the > same machine... I attach the wireshark dump of the communication... is > it working i

Re: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread Antonio de Angelis
UPDATE: I've tried to put the server process on a different machine on my home network, and it seems to work. But I want to make it work on the same machine... I attach the wireshark dump of the communication... is it working in the exact way? Antonio de Angelis [EMAIL PROTECTED] ha scritto:

Re: [lwip-users] How to build a simple TCP [...]

2008-07-09 Thread Antonio de Angelis
Thank you for reply and I apologize for the style of my previous mail, I'm sorry, but it's the first time that I write code in a mailing list :-) I've tried to connect to a server different from the server process that I've created, a common server on Internet (www.telecom.it) and the client w