Thread: Echo server

  1. #1
    Registered User
    Join Date
    Jan 2009

    Echo server

    I've read Beej's guide to network programming and I'm trying to write an echoserver. So far, its just been frustration. I just can't get it to work. I just deleted all my code because I can't get farther than getting the socket descriptor. Can anyone just post echo server code? I promise this isn't a homework assignment.

    EDIT: Please post the code so that its easy for me to understand. All in main() would be nice.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    If you can't understand Beej, then programming just may not be your thing.

    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Dec 2006

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. server client application - (i really need your help)
    By sarahnetworking in forum C Programming
    Replies: 3
    Last Post: 03-01-2008, 10:54 PM
  2. TCP/IP client & echo server
    By Jordban in forum C++ Programming
    Replies: 2
    Last Post: 06-06-2005, 06:39 PM
  3. A breakthrough
    By loopy in forum Linux Programming
    Replies: 4
    Last Post: 11-26-2003, 06:46 PM
  4. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM
  5. What's wrong with my Multi-Thread Echo Server ?
    By toshiyuki555_99 in forum C Programming
    Replies: 1
    Last Post: 12-10-2001, 04:52 AM