Jump to content
Posted 03 March 2000 - 07:50 AM
Posted 03 March 2000 - 10:56 AM
Posted 03 March 2000 - 11:12 AM
Posted 03 March 2000 - 08:19 PM
Original post by joeG
I''m sorry, I meant to ask the question, "Which protocol is java.net.Socket sitting on?" The real question is, "why does sending ''packets'' (''packet'' roughly equals an array full of bytes sent at once) that are larger than X amount of bytes per packet, clog the connection indefinitely (and I mean I''ve waited a lonnnnnnnng time for it to send one of these ''packets'').
And, theoretically, if you''re not able to send more than X amount of bytes over a connection then why should BufferedReader be able to????
Plus the reason I asked about which protocol does java.net.Socket sit on, is because I''m curious to discover if the underlying protocol should''ve handled a ''packet'' of data that was larger than what the buffer could handle. If not, then I should reduce the size of the packets I send through the socket. If so, then I should investigate another part of my program.
Thanks for the help though
Posted 04 March 2000 - 11:28 AM
Posted 04 March 2000 - 01:01 PM