User Profile

Collapse

Profile Sidebar

Collapse
Dave13
Dave13
Last Activity: May 7 '09, 05:37 PM
Joined: May 6 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dave13
    replied to read() help
    in C
    Converted it to fread() and its working a treat!! Thank you!!
    See more | Go to post

    Leave a comment:


  • Dave13
    started a topic read() help
    in C

    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...
    See more | Go to post
No activity results to display
Show More
Working...