Re: Pleae help in building multiclient socket application

From: Carlos Moreno (moreno_at_mochima_dot_com_at_xx.xxx)
Date: 08/15/05

  • Next message: David Schwartz: "Re: Pleae help in building multiclient socket application"
    Date: Mon, 15 Aug 2005 09:17:39 -0400
    
    

    sara_michael77@yahoo.com wrote:
    > hi all,
    >
    > im very new to socket programing in linux and been
    > assigned to develop a multiclient socket application.
    > the application shall have 5 clients, always connected.
    > the clients can communication through the server only.
    >
    > the server shall use fork() and pipe() for creating
    > child processes and inter process communication.
    > the child processes are required to communicate through
    > parent server.

    There are (explained) examples of this in Mathew/Stones'
    "Beginning Linux Programming"

    Of course, there are also more complete examples of this
    and many other related things in Stevens' "Unix Network
    Programming" (Volume I -- Sockets and X11). I'm not sure
    if you'll need also "Advanced Programming in the UNIX
    Environment" for the fork() part (maybe it is covered
    in the U.N.P. book itself). Maybe Volume II would be
    necessary, for the inter-process communications part of
    your mandate.

    HTH,

    Carlos

    --
    

  • Next message: David Schwartz: "Re: Pleae help in building multiclient socket application"

    Relevant Pages

    • Re: Book for socket programming?
      ... I have the Beginning Linux Programming book, ... I've seen Linux Socket Programming by ... the socket APIs based on standard like Posix.1g and XTI. ...
      (comp.os.linux.development.apps)
    • Re: Linux C++ Tutorials?
      ... > environment to program in any reasonable programming language. ... Interprocess Communications in Linux: ... > TCP socket communication and a nice class to handle mutex locks for pthread ...
      (comp.lang.cpp)
    • Re: Book for socket programming?
      ... I have the Beginning Linux Programming book, ... I've seen Linux Socket Programming by ... "These source files have been made available by Addison-Wesley ...
      (comp.os.linux.development.apps)
    • Re: socket programming
      ... > programming in linux. ... How do I send a data structure over the internet ... > I'm new to socket programming. ...
      (comp.os.linux.networking)
    • Re: network/multithreaded programming on FreeBSD
      ... system programming. ... difference in socket and multi-threaded programming ... between Linux and FreeBSD? ... and to read the wonderful Beej's guite to network programming: ...
      (freebsd-hackers)