This is the mail archive of the ecos-discuss@sourceware.org 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: Ethernet Communication


> BUT, when I put the client program to the other board, everything
> exploded. If the buffer is sent only one time, no errors occur. But,
> using it with a loop, client is sending the buffer and server is
> receiving it but only for 5 times. Then, a 'sendto error' occurs. I
> examined example programs such as 'udp_lo_test.c'. All the things
> are same but I didn't understand where the error is. (It gives
> different errors, ENAMETOOLONG, EHOSTDOWN, sometimes bind error
> etc.)

This sounds like stack overflow or some other form of data corruption.
Turn on CYG_INFRA_DEBUG and stack checking.

     Andrew

-- 
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]