Is it possible that a write in a Java socket throw without a simultaneous read throwing? -
let's says have 2 threads, 1 reading , 1 sending; if write fails, read operation in other thread fail too?
i think there @ least 1 case not case (interruptedioexception if sending thread interrupted), there other? if so, of cases related network problem?
another way if have shutdown socket writing. can't write can still read.
Comments
Post a Comment