How does server know that a client is connected to it or
not?

Answer Posted / rajesh vrk

I cant understand this question.but i wrote what i know
below

We can check from the server by using PING command.

We should use give the client name or IP address followed
by the ping commands.

For example ping 128.0.0.156 -n 4

where -n and the 4 is no echo requests to send times.

if the client is connect with the server the reply is coming
with some informations.

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cookies in networking ?

621


How we can make simple java program for Server/Client Communication

646


Explain look for local ports?

580


What are the advantages and disadvantages of sockets?

579


What is network programming in java?

575






Where is the network interface card located?

530


Explain a time server?

596


What are the advantages and disadvantages of java sockets.

614


What is an http server?

549


Explain the generic term internet.

598


Public serversocket(int port, int queuelength) throws ioexception, bindexception?

686


If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?

553


What is network interface name?

549


What is a client tester?

585


What is socket in java?

634