Thread: TFTP Server writen in C for Linux

  1. #1
    Registered User
    Join Date
    Aug 2014
    Posts
    1

    TFTP Server writen in C for Linux

    So I had to write a TFTP server (just for education purposes) app that uses fork(). The files should be stored on the RAM.

    Here is my code: [C] #include <stdio.h> /*for input and output */ #include <string.h> /*for string - Pastebin.com

    I used TFTP Server and Client - Browse /tftp/1.0 at SourceForge.net for basis.

    What do you guys think? I can't test it because I don't have client app. Is it ever going to work? If you have any advice or thoughts on it please feel free to share them with me. I really want to learn socket programming.

  2. #2
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    Why can't you use the client that comes with TFTP?. If you're having trouble getting FTP client to work I think this is not really a programming problem but more like OS support question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. TFTP connection problem
    By anya in forum C Programming
    Replies: 8
    Last Post: 09-04-2012, 12:37 AM
  2. Tftp server
    By kiros88 in forum Linux Programming
    Replies: 2
    Last Post: 04-12-2010, 10:18 AM
  3. Open Source Tiny Simple TFTP Server
    By Geolingo in forum C++ Programming
    Replies: 1
    Last Post: 03-28-2004, 03:27 PM
  4. Loging what is writen to harddrive
    By Zhjim in forum Windows Programming
    Replies: 7
    Last Post: 01-22-2004, 10:59 PM
  5. Replies: 2
    Last Post: 03-18-2003, 01:41 PM

Tags for this Thread