Hi,

When you have create a lwipcfg_msvc.h file, do you have set values to be 
compatible with your network (LWIP_PORT_INIT_IPADDR, LWIP_PORT_INIT_GW, 
LWIP_PORT_INIT_NETMASK) ?

I suppose you don't use the last lwip/contrib/ports/win32, because the "ping" 
application is enabled in your case. Last contrib files allow to enable/disable 
"apps" started in the test.

Do use the test.c as starting point, you could remove all the code inside the 
apps_init() function, and add your own one.

Question: what is your interest of using lwIP as IP stack on a Windows 
environment ?

To help you on such problems, perhaps it will be faster to chat on the lwIP IRC 
channel (#lwip on chat.freenode.net).
 
  
====================================
Frédéric BERNON 
HYMATOM SA 
Chef de projet informatique 
Microsoft Certified Professional 
Tél. : +33 (0)4-67-87-61-10 
Fax. : +33 (0)4-67-70-85-44 
Email : [EMAIL PROTECTED] 
Web Site : http://www.hymatom.fr 

Plan d'accès au siège social 

====================================
P Avant d'imprimer, penser à l'environnement
 


-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Antonio de 
Angelis
Envoyé : lundi 30 juin 2008 23:58
À : lwip-users@nongnu.org
Objet : [lwip-users] How to begin using lwIP stack


Hi All,

I'm a new user of lwIP, i have to work with the win32 port of the stack. 
I've downloaded the stable 1.3.0 release and the contrib 1.3.0 files. 
I've succesfully compiled in Visual Studio 2008 the msvc8 port with the 
three projects (lwIP, lwIP_pktif, lwIP_test). When I launch the 
executable, Test.exe, i see these messages on screen:

Starting lwIP, loopback interface IP is 127.0.0.1
Starting lwIP, local interface IP is 192.168.1.200
 0: \Device\NPF_GenericDialupAdapter
 1: \Device\NPF_{7A579B11-E5FE-4EFE-AB55-AD42C66289D1}
 2: \Device\NPF_{48C5A4AA-056F-4955-BB40-55BAD478E21C}
 3: \Device\NPF_{7F6AC404-196A-4726-B708-2EB0643B7673}
USE: Intel(R) PRO/Wireless 3945ABG Network Connection (Microsoft's 
Packet Scheduler)
MAC: 00:13:02:65:C3:CB
link_callback==UP
status_callback==UP, local interface IP is 192.168.1.200
ping: send 192.168.1.1
ping: recv - 997 ms - timeout
ping: send 192.168.1.1
ping: recv - 998 ms - timeout
sntp_request: not recvfrom==0
ping: send 192.168.1.1
ping: recv - 998 ms - timeout
ping: send 192.168.1.1
ping: recv - 998 ms - timeout
3com.com: <not found>
ping: send 192.168.1.1
ping: recv - 998 ms - timeout
...
...until i press a key. Is it the correct behaviour of the test 
application? Is the stack working correctly? I want to use the stack to 
implement a TCP connection beetween hosts on a Win32 platform. How do I 
have to design my application? I want to use the socket API, so what do 
I have to do to build the application (e.g. what headed files to 
include, what libraries to link...etc.). Sorry but i'm not expert in 
network programming and I want to learn how to use the lwIP stack! Regards

Antonio de Angelis




_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users
BEGIN:VCARD
VERSION:2.1
N:BERNON;Frédéric;;M.
FN:Frédéric BERNON
ORG:HYMATOM SA;Recherche et Développement
TITLE:Chef de projet informatique
TEL;WORK;VOICE:04-67-87-61-10
TEL;WORK;FAX:04-67-70-85-44
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;23;Zone Industrielle=0D=0A175 rue de Massacan;VENDARGUES;;34740;FRANCE;
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:23=0D=0AZone Industrielle=0D=0A175 rue de Massacan=0D=0AVENDARGUES 34740=0D=
=0AFrance
URL;WORK:http://www.hymatom.fr
ROLE:Chef de projet informatique
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20020404T083210Z
END:VCARD
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to