Thread: Port
View Single Post
  #4 (permalink)  
Old 11-28-2007, 09:33 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,122
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Quote:
Originally Posted by nogono View Post
If Server accepts connection at port no 4242......

Q No 1:

So can two clients connect at port no 4242........
Yes

Quote:
Originally Posted by nogono View Post
Q No 2:

Can server listen connections on two port nos.....
Server can listen to two different ports of different application, each application will have their own port that server will listen to.

Quote:
Originally Posted by nogono View Post
Q No 3:

What do u mean by .......how to start server?
I'm not sure what you're asking, how to start a server? As soon as you accept a connection from the client and you assigned a socket for that specific client, server is at the listening state. As soon as you run your server, it started...

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote