Help pls!

Joined
May 10, 2006
Messages
1
Reaction score
0
Hello everybody,
this is my first post here;hope to get the required help.

I used ObjectOutputStream(socket.getOutputStream) and ObjectInputStream(socket.getInputStream) to write and receive data between a server and a client.
However this method prooved to be very slow and i am dealing with large Database Tables.

After doing a search,i used BufferedOutputStream(socket.getOutputStream) and BufferedInputStream(socket.getInputStream).
To my surprise,the speed remained the same :shock: eventhough i declared in the BufferedOutputStream constructor a big buffer capacity.

Any suggestions on why?or a proposed solution?

Best Regards.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top