Echo server

This is a discussion on Echo server within the C Programming forums, part of the General Programming Boards category; I've read Beej's guide to network programming and I'm trying to write an echoserver. So far, its just been frustration. ...

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    103

    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
    Posts
    14,826
    If you can't understand Beej, then programming just may not be your thing.


    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,167

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, 09: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, 05: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, 03:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21