Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to send a file without closing the socket?

Karthik AryanMar 3 2014 — edited Mar 10 2014

I wrote a program to transfer a file using tcp connection, where I closed socket since the receiver need to detect the end-of--file.  But now I like to extend it to multiple file for which i should not close the socket until all the files are send. I can't find a way for this. So please help to resolve it.

This post has been answered by EJP on Mar 9 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2014
Added on Mar 3 2014
20 comments
1,360 views