Server receive and echo

This is a discussion on Server receive and echo within the C Programming forums, part of the General Programming Boards category; I need the server to listen to a client, take what the client types and echo it to that client. ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    1

    Server receive and echo

    I need the server to listen to a client, take what the client types and echo it to that client. I will be using a character sent by the client to terminate the conversation. I am using C with the following: unix/linux/freeBSD. I would appreciate any help in this effort.

    Thanks

  2. #2
    Im back! shaik786's Avatar
    Join Date
    Jun 2002
    Location
    Bangalore, India
    Posts
    345
    What exact help are you expecting from us? You probably need to get some tutorials on Network Programming, a topic which has many times been discussed before here. Just searhc through the boards, you'll find some real useful tips here.

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    98
    There is a standard TCP socket which already performs this function on port (socket number) 7, so you may just need to write the client...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Server sending a message
    By Dr.Zoidburg in forum Networking/Device Communication
    Replies: 7
    Last Post: 12-03-2008, 07:05 PM
  2. file download through ftp using C under Unix
    By Mohit_t in forum C Programming
    Replies: 3
    Last Post: 06-12-2008, 03:00 PM
  3. server client application - (i really need your help)
    By sarahnetworking in forum C Programming
    Replies: 3
    Last Post: 03-01-2008, 10:54 PM
  4. send and receive byte does not match
    By saipkjai in forum Networking/Device Communication
    Replies: 1
    Last Post: 02-09-2008, 01:09 AM
  5. Client works on a LAN but don't send all the data
    By Niara in forum Networking/Device Communication
    Replies: 9
    Last Post: 01-04-2007, 04:44 PM

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