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)
#define LWIP_PORT_INIT_GW(addr) IP4_ADDR((addr), 192,168,0,128)
#define LWIP_PORT_INIT_NETMASK(addr) IP4_ADDR((addr), 255,255,255,0)
After compiling the whole project, the output information as following:
Starting lwIP, loopback interface IP is 127.0.0.1
Starting lwIP, local interface IP is 192.168.0.200
0: \Device\NPF_GenericDialupAdapter
1: \Device\NPF_{4988064C-B617-452A-9DEF-4EFC0DDD034A}
USE: Realtek RTL8169/8110 Family Gigabit Ethernet NIC
(Microsoft's Packet Scheduler)
MAC: 00:C0:9F:9D:F7:61
link_callback==UP
status_callback==UP, local interface IP is 192.168.0.200
ping: send 192.168.0.128
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
sntp_request: not recvfrom==0
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
3com.com: <not found>
ping: recv - 1000 ms - timeout
ping: send 192.168.0.128
ping: recv 192.168.0.128 1 ms
We can see the ping command sometimes will fail, and I try to connect to
the httpd server, open the IE and input http://192.168.0.200, but can not show
the right answer.
So my question is:
1. Why ping command sometimes will failed?
2. How to confige the project, so that I can connect the httpd server.
Thanks.
------------------------------------------------------------------------
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users