This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Application Client-Server and stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Application Client-Server and stream" Watch "Application Client-Server and stream" New topic

Application Client-Server and stream

Michal Samos

Joined: Nov 27, 2009
Posts: 4
I wrote simple application Client-Server. If client connect to server, than server send image and Strings to client. If I send only Images, or only String everything is ok. But if I try send Image after String, second client that connect to server got following exception : invalid type code: F8

First Client load all data correct, but secont not.

Below is Client and Server Code.



How to solved it?

I agree. Here's the link:
subject: Application Client-Server and stream
It's not a secret anymore!