Server and Client process

This is a discussion on Server and Client process within the Networking/Device Communication forums, part of the General Programming Boards category; Can some one give me some hints in how to solve this program. How can i communicate with the server? ...

  1. #1
    wise_ron wise_ron's Avatar
    Join Date
    May 2006
    Posts
    75

    Server and Client process

    Can some one give me some hints in how to solve this program. How can i communicate with the server? If you have anylinks or refence that will be helpfull feel free to tell me.

    Thanks for your help it will be appreciate it!

    Code:
    Program:
    The Client will randomly generate some text and send it to the Server
    the Server will then echo the text to all Clients including the name of 
    the Client sending the message. This will then be displayed by each of 
    the Clients that are attached to the Server.
    Server should continuously loop and accept messages from Clients
    and then echo them. Each client gets a unique name which will be passed to
    the server at the time when the connection is established.
    
    Run one server and ten clients for at least 100 distinct messages from all clients.
    
    Typical output may look like:
    Client1 sends: abba
    Client3 receives: From Client1: abba
    Client4 receives: From Client1: abba
    etc... 
    
    or... if you wish...
    Client1 sends: abba
    Client3 receives: Client1> abba
    Client4 receives: Client1> abba
    etc...
    
    (remember that more than one message may pile up on one client; therefore, you need
    to allow a queue for each client... similarily, for the server)
    Wise_ron
    One man's constant is another man's variable

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    We have a whole board just for network programming (which this thread is now in).
    The "sticky" threads at the top of the forum have much information, look through some of it.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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. c program client server
    By steve1_rm in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-24-2008, 09:33 AM
  3. Where's the EPIPE signal?
    By marc.andrysco in forum Networking/Device Communication
    Replies: 0
    Last Post: 12-23-2006, 07:04 PM
  4. TCP/IP client & echo server
    By Jordban in forum C++ Programming
    Replies: 2
    Last Post: 06-06-2005, 06:39 PM
  5. Unicode vurses Non Unicode client server application with winsock2 query?
    By dp_76 in forum Networking/Device Communication
    Replies: 0
    Last Post: 05-16-2005, 07:26 AM

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