Results 1 to 2 of 2

Thread: Client-Server Architecture script

  1. #1
    itags NNTP User

    Question Client-Server Architecture script

    I want to write a script using TCP protocol where will be a single server which can handle multiple client request simultaneously.
    I am able to write a script using I::Socket but In these scripts my server can handle single client suppose my server is printing the IP address of the client and print 10 times hello world like this But that is not the thing which I want I need a script which will print the IP address of the client from which it receives the request and also execute the request which it is receiving from the clients.
    Regarding this if I get u people's help I will be highly obliged.

    Thanks&Regards in advance

  2. #2
    Join Date
    Jul 2008
    Location
    Voorhout, Netherlands
    Posts
    262

    Default Re: Client-Server Architecture script

    itags wrote:
    > I want to write a script using TCP protocol where will be a single
    > server which can handle multiple client request simultaneously.
    > I am able to write a script using I::Socket but In these scripts my
    > server can handle single client suppose my server is printing the IP
    > address of the client and print 10 times hello world like this But that
    > is not the thing which I want I need a script which will print the IP
    > address of the client from which it receives the request and also
    > execute the request which it is receiving from the clients.
    > Regarding this if I get u people's help I will be highly obliged.


    See e.g. http://docs.python.org/library/socke...e-SocketServer
    for Python.

    Theo

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •