Search:

Type: Posts; User: purpleturtle_97

Search: Search took 0.00 seconds.

  1. Thats not a bad idea, thanks for that! I'll get...

    Thats not a bad idea, thanks for that! I'll get right on that now, but in the meantime am I correct if I were to go along the lines of:



    void echoFile(int fd, char
    *filename) {

    FILE*...
  2. Sorry I haven't been very clear here. EDIT: I...

    Sorry I haven't been very clear here.

    EDIT:
    I have already created the socket in the main method, which basically results in:



    int connection_sckt;
    connection_sckt = accept(list_s, NULL,...
  3. Opening a file and echoing the contents from it to the file descriptor

    I've been stuck on this for hours because I really don't understand file descriptors and how successfully print a file to one.


    Basically, I want to be able to open a file and then echo its...
Results 1 to 3 of 3