Operating System - HP-UX
1847883 Members
5368 Online
104021 Solutions
New Discussion

Re: Regarding SERVER program in HP-UX

 
SOLVED
Go to solution
Shivakumar_3
Advisor

Regarding SERVER program in HP-UX

Hello Everybody,
I am writing a server program in HP-UX server.I have to write the server program in such a way that it connects to several clients(6-7).What exactly the server program should do is if it connects to one client it will receive packets and send acknowledgement.If another client requests to server it should create the socket and carry on the same process with both the clients simultaneously and so on.Please help me out because i am new to socket communication.Thanks in advance.
4 REPLIES 4
Arunvijai_4
Honored Contributor
Solution

Re: Regarding SERVER program in HP-UX

Shiv, Try to use perl. Server programming in perl is easy to write.

This link should be helpful

http://www.geocities.com/SiliconValley/Park/8312/sockets.htm

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Regarding SERVER program in HP-UX

Shivakumar_3
Advisor

Re: Regarding SERVER program in HP-UX

Hello,
Thank u very much for ur reply.Is it possible to do above case like many clients to one server.I have done one client-one sevrer communication only but not many to one.Please help me out.
Arunvijai_4
Honored Contributor

Re: Regarding SERVER program in HP-UX

Yes, It is possible. Just think about a webserver running and many clients request a page. Is your scenario similar to that ??

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"