위와 같이 콘솔에 출력되지않고 파일로 저장되는 이유는 코드에서 FileOutputStream의 PrintStream으로 System의 출력을 수정해줬기 때문이다. 즉, 디폴트로 콘솔에 출력되는 PrintStream을 가진 System을 이와 ...
This tutorial is an introduction to socket programming in Java, starting with a simple client-server example demonstrating the basic features of Java I/O. You’ll be introduced to both the original ...