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
Post a Comment