cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Cleint-Server Question

 
SOLVED
Go to solution
Becke
Super Advisor

Re: Cleint-Server Question


Thanks a lot to all of you, your information has certainly helped me and I feel more comfortable now, I'm reading the doco and If I will have any other query I will post it tommorow..

We have an excellent and helpful team here guys. I appreciate everyone's quick response and help..

Cheers,
Raf
Muthukumar_5
Honored Contributor

Re: Cleint-Server Question

Good. You can check port statistics with,

# netstat -na | grep portno

# lsof -i:port

You have to install lsof. It will be helpful for your requirement always as a monitoring tool.

Keep continuing your questions here.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Cleint-Server Question

Hi Raf,

"lsof" is a nifty utility in HP-UX. You can get lot of information with that. Download and install from,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.75/


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

Re: Cleint-Server Question

Hi Raf,

A must for Socket programmers in HP-UX,

BSD Sockets Interface Programmer's Guide:
http://docs.hp.com/en/B2355-90136/index.html

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

Re: Cleint-Server Question

Guys,

I need to know exactly that, How does the server know that it has to fulfil clients services.

Please let me know about the above as I'm still not clear.

Cheers,
Raf
Steven E. Protter
Exalted Contributor

Re: Cleint-Server Question

Shalom to you Raf,

The answer to your last question is totally dependent on the the application.

On a basic level, the server listens on a network port. The client is configured to send a request on that network port.

The server is coded to know how to respond to a properly formed request.

Lets use an oracle example.

The oracle db server is listening on port 1521.

A client using the oracle client software performs a request for data, in the form of a sql query and sends it to the database server and port defined in a configuration file, which sets up communication with the server.

The server receives the request, prioritizes it and answers the request with the data that was requested in the sql query.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Becke
Super Advisor

Re: Cleint-Server Question


Thanks for your response Steven, so in simple words you say that "if the server is coded to know how to respond to a properly formed request then it will fulfil the request right?

My other question is,

How does your browser know hot to find and talk to the http server?

I'm doing some reading on internet but your help would be appreciated..

Cheers,
Raf
njia_1
Trusted Contributor

Re: Cleint-Server Question

Hi Raf,

Basically, your web broswer for example IE needs to know the IP address of the web server you want to open, it uses DNS to find out the IP address and then it use HTTP protocol talks to web server. Any web servers understand HTTP protocol and that is why IE can talk to web servers just like we can discussed different topics here because we all speak English.

Have a look here.
http://tldp.org/HOWTO/Unix-and-Internet-Fundamentals-HOWTO/internet.html
Becke
Super Advisor

Re: Cleint-Server Question


Thanks mate, you have given the answer and my reading is certainly helping me a lot along the way...

If I will have any query I will be posting more...

Kind Regards,
Raf
Arunvijai_4
Honored Contributor

Re: Cleint-Server Question

Hi Raf,

Some interesting reading,

http://computer.howstuffworks.com/web-server.htm
http://computer.howstuffworks.com/web-page.htm

Generic, http://computer.howstuffworks.com/internet-channel.htm

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