소켓프로그래밍(2) - 복수 파일 복사 [ 서버 코드 ]public class MultifileTransferServer {public ServerSocket serv;public Socket sock;BufferedOutputStream bos = null;DataInputStream dis = null;DataOutputStream dos = null;int fileTransferCount = 0;long fileTransferSize = 0;File copyFile = null;public static void main(String[] args) {// TODO Auto-generated method stubMultifileTransferServer server = new MultifileTransferServer(5000);}publi.. 더보기 소켓 프로그래밍 클라이언트1) Socket ( IP , Port ) 생성2) Input / Output Stream 받는다. (socket으로 부터 생성)3) write4) read5) socket 종료 (sample)public static void main(String[] args) {// TODO Auto-generated method stubDataInputStream dis = null;DataOutputStream dos = null;Socket sock = null; try {----------------- 1 -------------------------sock = new Socket("127.0.0.1",5000); ---------------- 2 -----------------------------/.. 더보기 HTML&CSS-01 웹 페이지의 구조를 브라우저가 알 수 있도록 하기 위해서,마크업 언어를 사용한다.그럼 마크업 언어인 HTML을 시작하기 전에 먼저 마크업의 구성을 잠시 살펴보자. .형태엘리먼트 : 콘텐츠(내용) 그럼 CSS란? Cascading Style Sheets의 약자이고, 웹페이지에 있는 각각의 엘리먼트들이 어떻게보여져야 하는지를 브라우저에게 알려주는 역할을 수행한다. 아래는 CSS 적용전과 적용후의 웹 페이지를 비교한 모습이다. (적용전 : 출처 헤드퍼스트 HTML ) (적용후 : 출처 헤드퍼스트 HTML ) 즉,CSS를 이용하면 padding / margin / background-color / border / font-family 와 같은 속성을 설정할 수가 있다. HTML과 CSS의 역할을 구분한다면 HT.. 더보기 이전 1 ··· 13 14 15 16 17 18 19 ··· 32 다음