This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Need help for TCP/IP over PPP
- From: Matt Jerdonek <maj1224 at yahoo dot com>
- To: Weili Yao <weili_yao at trimble dot com>
- Cc: ecos-discuss at sources dot redhat dot com, Weili Yao <weili_yao at Trimble dot com>
- Date: Fri, 21 Jan 2005 15:04:22 -0800 (PST)
- Subject: Re: [ECOS] Need help for TCP/IP over PPP
I don't think I've seen this problem. The only time I
saw sendto fail was when I tried to send an unroutable
packet. Is there a chance that the idle_time_limit
(in cyg_ppp_options_t) is expiring?
I think you're going to have to step through send()
with GDB when the problem occurs.
-- Matt
--- Weili Yao <weili_yao@trimble.com> wrote:
> Hello, Matt:
> I have another PPP problem here. After PPP being
> connected, I tried
> to ping remote IP Address (such as IP Address at
> google.com which is
> 216.239.57.99). I am able to continuously do ping
> about 1000 times, but
> after that the ecos reported sendto() failed.
> Basically I cannot send()
> anything out. Even worse, I cannot tear down the PPP
> connection when
> problem happens.
> I tried PPP connection both via GSM modem to
> Cingular Wireless and
> via direct cable to my local PPP server. I got the
> same problem. It is
> also true that after PPP connection established, I
> used send() to a
> TCP/IP socket, but I can only use send() about 1000
> times in a loop and
> then send() failed. It does not matter whether I
> send 500 bytes per
> packet or send 50 bytes per packet. It always failed
> after certain
> number calls to send().
> Please help me if I missed something for the
> TCP/IP over PPP
> connection:
> 1) why send() failed after about 1000 calls?
> 2) after send() failed, why I cannot tear down PPP
> connection?
>
> Thank you for your help and have a nice weekend!
>
>
> Weili Yao
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss