Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

not able to connect...

 
mark smith
Ranch Hand
Posts: 251
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic