This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
read () blocking problem
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] read () blocking problem
- From: "N.Suresh" <nsuresh at cdotb dot ernet dot in>
- Date: Mon, 05 Nov 2001 10:49:00 +0530
- CC: rprakash at cdotb dot ernet dot in, bshiva at cdotb dot ernet dot in
Hi all,
i am writing a small packet forwarder application on ads 8260 board.
i have compiled with networking package and ping is working.
Host A ---------> ads ---------> Host B
connections happen successfully.
Obsvn 1:
------
when i am reading from one socket to write into other socket, the first
read () call itself not coming out and net thread goes to sleeping
state , even
when data is being sent by a host A continuosly.
Obsvn 2:
------
instead of sending large buffers from A to B if i send some small
buffers (like taking input from
std input) the same setup will work.
Any idea what's the problem,
regards,
Suresh
--
!============================================================================!
= Suresh N., Research Engineer, C-DoT, Bangalore. =
= Call me at : OFF: 2383951(Dir) / 2263399 (268) RES: 3334248 =
= Alternate email : nsur_mys@email.com =
= QOT: For fast-acting relief, try slowing down.
!============================================================================!