I am writing a simple socket pogramming where I am using 2 different
operating system, Linux and Windows95. I am sending a file from Windows95
to linux and vice versa. The program written in C for linux using
fread() function to read line by line from a given file and the program
receive a different file from windows95 (Visual Basic) and store it in a
buffer before write it in a file. When I try to write the buffer in a
file, it is not written as it should be ..I mean it is not written
line by line but everything in one line..These happen in windows95
too.. Please guide me...
____ ____ ___
/\ _`\ /\ _`\ /\_ \
\ \,\L\_\ \ \ \L\ \ __ \//\ \ __ ___
\/_\__ \ \ \ _ <' /'__`\ \ \ \ /'__`\ /' _ `\
/\ \L\ \ __ \ \ \L\ \/\ \L\.\_ \_\ \_/\ \L\.\_/\ \/\ \
\ `\____\/\_\ \ \____/\ \__/.\_\/\____\ \__/.\_\ \_\ \_\
\/_____/\/_/ \/___/ \/__/\/_/\/____/\/__/\/_/\/_/\/_/