• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem when connecting a client to a chatroom application over the internet.

 
Isuru Buddhika
Greenhorn
Posts: 11
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a chat room application using java socket and tried to connect a client via the internet. Both client and server machines were connected to the internet through USB HSPA modems. When the client tris to connect a StreamCorruptedException was thrown. I cannot figure out the reason for that. Can you please help me to fix this. Source code of my application is given below.

1) Server :



2). Client :



3). ClientListener :



4) GUI(Chatroom) :

 
Isuru Buddhika
Greenhorn
Posts: 11
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help me please... I tried various ways but still no luck
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic