wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes not able to connect... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "not able to connect..." Watch "not able to connect..." New topic
Author

not able to connect...

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
hi

in a client/server application, i can connect many client to the server


Client class



now i try to connect to another server after 10 second...
i'm able to connect to it... but the server don't respond...


Server main class (commnet server 4444 to test my client...)


server code


ServerThread class


i start my server:

server run, wait connecting....

i start my client:

try to connect to 127.0.0.1 to portt 4444
Entree: Try: 1
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 2
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 3
try to connect to 127.0.0.1 to portt 4444
Entree: Tentative : 4
Essai de Trya� l'hote 127.0.0.1 au port 4444
Entree: Tentative : 5
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 6
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 7
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 8
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 9
try to connect to 127.0.0.1 to portt 4444
Entree: Try: 10
try to connect to a new server...
Entree:

i type some text:fsdfsf

nothing is displayed on client and server side...

any idea?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not able to connect...