Thread: tcp/ip networking C program guidance

  1. #1
    Registered User
    Join Date
    Jan 2015
    Posts
    15

    tcp/ip networking C program guidance

    Okay so I've been working on a C program that's sort of self-contained and I would like to add the ability for it to communicate with another instance of itself running on another server on the internet. Both will be running on Linux systems. My question is what should I be reading to teach me on how to accomplish for the two programs to communicate automatically via eachother and exchange information based on program logic? basically like automating ftp but done internally in the C program. Would I need sockets for this? or is there another way? which books do you recommend or tutuorials/videos online? I have some stevens books on unix programming/networking but they seem like deep reading.. any help would be good thanks for the advice!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,670
    The first thing to do is read Beej's Guide to Network Programming
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Looking for some guidance to cpmplete a bookeeping program with C.
    By ProgrammingN00b in forum C Programming
    Replies: 5
    Last Post: 12-09-2012, 11:13 AM
  2. guidance with writing program
    By phoenixg in forum C Programming
    Replies: 8
    Last Post: 03-27-2011, 12:53 PM
  3. Need guidance editing a program
    By llind212 in forum C++ Programming
    Replies: 2
    Last Post: 02-17-2011, 03:09 PM
  4. Need small guidance in my networking journey
    By Netman in forum Networking/Device Communication
    Replies: 2
    Last Post: 08-12-2010, 11:14 AM
  5. Need some guidance on a poker program
    By cosmic_cow in forum C Programming
    Replies: 10
    Last Post: 10-06-2009, 11:20 PM

Tags for this Thread