I'm learning about socket programming in Java. I've seen client/server app examples with some using DataOutputStream
, and some using ObjectOutputStream
.
What's the difference between the two?
Is there a performance difference?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…