This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]