[En-Nut-Discussion] httpserv works on H8 NIC
Tyou
tyou at i-da.co.jp
Thu Jul 31 07:07:43 CEST 2003
Hi, frds,
httpserv now works on H8 NIC. but I don't
know why the remote IP is same with
local.
Sockets
Handle Type Local Remote Status
00C034BE TCP 0.0.0.0:80 0.0.0.0:0 LISTEN
00C03DA4 TCP 0.0.0.0:80 0.0.0.0:0 LISTEN
00C0447E TCP 0.0.0.0:80 0.0.0.0:0 LISTEN
00C03BA2 TCP 192.168.1.27:80 192.168.1.27:1750 ESTABL
the source code could be downloaded at (version 3.3)
http://www.i-da.co.jp/~tyou/nut/Nut.rar
Note, file size still should be less
than 32767(int is 2 byte by default);
And it is easy to port to other platform.
PPP not tested. Also if you want to save
complie time, please cut the define _debug_XXX
in complier.h and paste to each XXX.c files.
btw, in httpserv,c:
NutRegisterCgi("timers.cgi", ShowTimers);
I think it should be <>
NutRegisterCgi("timer.cgi", ShowTimers);
Regards,
Weigang Tyou
More information about the En-Nut-Discussion
mailing list