problem with ansi c unexpected behaviour?

Posted by moon on Stack Overflow See other posts from Stack Overflow or by moon
Published on 2010-06-08T06:46:38Z Indexed on 2010/06/08 6:52 UTC
Read the original article Hit count: 212

Filed under:

hi to all!

i am suffering with an unexpected behavior,here is problem definitation

i have applications communicating on LAN via UDP protocol, i am reading the Ip and Port no from a text file, initially the Ip and Port is working nicely but after some time the Ip that is a char array is corrupted and it takes garbage values, also the file writing is effected by this i mean the values that are in ip array are also written in text file that is written by the same application, i cant understand what is the problem.

sorry for weak english. thanx in advance.

© Stack Overflow or respective owner

Related posts about ansi-c