I have a client connecting to my server. The client sends some messages to the server that I don’t care about and don’t want to waste time parsing messages if I don’t use them. All I / I use is just java i / o, not nio.
If I create an input stream and just do not read it, can this buffer fill up and cause problems? If so, is there something that I can do, or a property that I can set, so that it just throws away the data that it sees?
Now, what if the server does not create an input stream at all? Will this cause client / send problems?
Please let me know.
Thanks JBU
source
share