[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Client-Server



Hi,

I don't think that this has anything to do with the timeslicing. I would
like to know more about how you are handling the request from the client
at the server ? are you creating another thread for servicing the client
request ? or are you servicing all threads from within the server ?

vibhu..


linus@xxxxxxxxx wrote:

> Hello all,
>      I have got small problem. I have two programs , one is a client
> and the other is a server. All that i need to do i send a word from
> the client to the server. Now the server program which is listening
> at the socket, reads that word. Till this point the execution is
> perfect. Next the server will have to open a file check if that word
> exists, if so send its meaning back to the client.But when the
> control comes to the open statement in the server program it skips
> everything in that and control goes back to the client.
> Initially I am running the server in the background. and then running
> the client program. Could anyone out there help me out with this
> problem.
>
> TIA
> Regards,
> Mani
>
> note : Is it bcos of the timeslice.
>
> Enter your default signature here
> Sent by Indya Messaging Service
>
> ---------------------------------------------
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at
> http://lists.linux-india.org/cgi-bin/mj_wwwusr

--
..........................................................................

To know the road ahead, ask those coming back. -Chinese Proverb
--------------------------------------------------------------------------

Vibhu Rishi             e@   vibhu.rishi@xxxxxxxxx
Sr. Systems Engineer    ring@   8520408/416/419/420/424/425
WIPRO    ext.: 2109
Electronic City  - Bangalore
--------------------------------------------------------------------------