[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] i need help!!!problem with TCP
From: |
manjunath |
Subject: |
[lwip-users] i need help!!!problem with TCP |
Date: |
Thu, 27 Mar 2003 09:22:01 +0530 (IST) |
hi,
iam new user to this lwip, i saw u'r
From: Rajaraman Krishnan
Subject: [lwip-users] Re: [lwip] Problems with TCP
Date: Thu, 09 Jan 2003 01:34:55 -0000
mailing list, files(examples) filename="server.cc"
filename="lwip_client.c",
function in lwip_client.c program;
int parse_addr(char *caddr, struct ip_addr
*ipaddr1, struct ip_addr =
*ipaddr2)
{
int a, b, c, d;
if (sscanf(caddr, "%d.%d.%d.%d", &a, &b, &c, &d) !=3D 4)
return 0;
if ((a < 0) || (a > 255) || (b < 0) || (b > 255) || (c < 0) || (c > =
255) ||
(d < 0) || (d > 254))
return 0;
IP4_ADDR(ipaddr1, a, b, c, d);
IP4_ADDR(ipaddr2, a, b, c, (d+1));-----> changed line;
return 1;
}
here i changed IP4_ADDR(ipaddr2, a, b, c, (d+1)); line to
IP4_ADDR(ipaddr2, a, b, c, d); then it's working; is it correct;
i want these as server.cc on lwip, client is on lwip.
In the same way i got problems when running both client and server written
on lwip; i don't why; what r the criteria u have to fallow; if
u have any applications plese send me; iam running lwip-0.5.3 on red
hat linux 7.3; i actually need FTP,telnet,tftp applications on lwip, if u
know any inforamtion regarding this, please help me;
replay me asap;
MANJUNATH K R
-------------------------------------------------------------------------------
"Imagination is more important than knowledge,
For knowledge is limited, whereas imagination embraces the entire."
-------------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] i need help!!!problem with TCP,
manjunath <=