File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Problem with networking IO stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Problem with networking IO stream" Watch "Problem with networking IO stream" New topic

Problem with networking IO stream

Marco Fu

Joined: Feb 29, 2012
Posts: 1
Hi everyone , I'm a very new beginner on JAVA , I'm now having problems with my schoolwork.
The problem is : When I click the button in Server Side , it should have sent all 6 of the Strings in TextField above ( Sorry for the weird size of JButton on bottom ) , However , the Client side , only show that it received 3 Strings only , what's wrong with it?
My IDE is NetBean.

Server Side

Client Side

Thanks for the help.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

Do you see anything wrong with this code?

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Problem with networking IO stream
It's not a secret anymore!