lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : [lwip-users] How to begin using lwIP stack


From: Frédéric BERNON
Subject: RE : [lwip-users] How to begin using lwIP stack
Date: Tue, 1 Jul 2008 18:21:49 +0200

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 : address@hidden 
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 : address@hidden [mailto:address@hidden De la part de Antonio de Angelis
Envoyé : lundi 30 juin 2008 23:58
À : address@hidden
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
address@hidden http://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]