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]

read () blocking problem


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.
!============================================================================!



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