User Profile
Collapse
-
Converted it to fread() and its working a treat!! Thank you!! -
read() help
Hi there
Below is a small bit of test code for a project im working on, eventually the programs going to be a simple file transfer system, reading a file and then sending it out of a socket, but for now I cant get any files to open. I've been pouring over it for hours and I can't find up whats going wrong, the files there and has data in, but all the read() will return is -1 with a stderr message of Bad File Descriptor, but i just...
No activity results to display
Show More
Leave a comment: