c# - Ignoring incoming data in TcpClient / NetworkStream -


for communication third-party software, need establish unidirectional connection on tcp. software needs send data other side , never read data. i'm using tcpclient. happen if there incoming packets nonetheless , never read them? pile somewhere , lead errors or like? how configure tcpclient ignore or discard incoming data?

the whole design not do, can't change other software , need bear this.

some nice hints on bits inside tcpclient helpful!

i think of data buffered, waiting read it. not sure how large buffer size is, however. don't think lead errors immediately, if sender expecting able write, @ point write may time out , other party may choose close connection.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -