I am transferring a file from my JApplet through a socket to my server. It seems that my server socket receiver only reads in at most 65700 bytes at a time. Anything larger than that breaks my program.
1) Can I enlarge the 65700 limit? 100000 would be great.
2) If I cannot enlarge it, how can I read the data in sections to form one file at the end?

Thanks!:)