본문 바로가기

programming

RFC 번호, 약자 RFC 번호 의미 약자 742 Finger Protocol FINGER 768 User Datagram Protocol UDP 791 The Internet Protocol IP 793 Tranmission Control Protocol TCP 821 Simple Mail Transport Protocol SMTP 822 Format for Internet Massage MAIL 959 File Transfer Protocol FTP 988 Network News Transfer Protocol NNTP 1460 Post Office Protocol Version 3 POP3IDI_HAND 이 글은 스프링노트에서 작성되었습니다. 더보기
구글 GData API 프로토콜 기본. Google Data APIs Protocol Basics 출처 : http://code.google.com/apis/gdata/basics.html 예> /myFeed 라는 피드가 있다고 가정한다. 내용은 없다. 피드 요청하기 서버에 request 를 보낸다. GET /myFeed 서버응답 200 OK Foo 2006-01-23T16:25:00-08:00 http://www.example.com/myFeed Jo March 타이틀, 작성자 이름등의 메타데이터만 있다. 새 게시물을 넣기 POST /myFeed Elizabeth Bennet liz@gmail.com Entry 1 This is my entry id,link,updated 는 없고, 이름,이메일등만 넣었다. 서버응답 201 CREATED 1 2006-01-23T16:26:03-08:00 Elizab.. 더보기
구글 데이터 API 개념.돌아보기. Google Data APIs. 출처 : http://code.google.com/apis/gdata/overview.html 구글데이터 API는 줄여서 GData라고 부르기도 한다. 이는 웹에서 읽기,쓰기기가 가능한 간단한 프로토콜을 제공한다. Atom과 RSS를 지원한다. GData는 Atom1.0, RSS2.0에 기반을 둔 프로토콜이며, 다양한 방법으로 확장이 가능하다. 이 GData를 이용하면, HTTP GET request 를 보내서,ATOM이나 RSS를 받을 수 있고, HTTP put request를 이용해 업데이트도 가능하다. 블로그 피드, 이메일,캘린더이벤트,임무리스트등의 개인화된 데이터들을 모두 제공할수 있다. RSS,Atom 모델은 확장성이 있고, 피드 제공자가 읽기 전용(검색결과등) 읽기/쓰기가능(캘린더프로그램등)하.. 더보기
소켓 프로그래밍. Socket Programming. 소켓 프로그래밍은 네트워킹 프로그래밍중 가장 기본적이다. 소켓. Socket이란 통신상의 endpoint. 이 소켓.Socket은 핸들.Handle같은 식별번호라 생각하면 된다. 프로그램은 이 소켓을 바인딩해서 사용하게 된다. 종류 Stream Socket Datagram Socket TCP/IP Protocol UDP/IP Protocol 연결후 새로운 주소지정 필요없음 수신,발신 주소를 가짐. 별개의 경로를 가지고 목적지이동 순서보장 순서보장이 않됨 연결후 통신 연결 않됨 신뢰성보장 신뢰성보장않됨 송/수신시 확인필요 소켓프로그래밍에 필요한 MFC Class는 CAsyncSocket, CSocket. Winsock은 Stream, Datagram Socket 모두 지원. Stream 에선 SOCK_ST.. 더보기
구글.안드로이드.Google.Android.소스. TranslucentFancyActivity.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/TranslucentFancyActivity.html/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b.. 더보기
구글.안드로이드.Google.Android.소스. TranslucentActivity.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/TranslucentActivity.html/* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app.. 더보기
구글.안드로이드.Google.Android.소스. RedirectEnter.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/RedirectEnter.html /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab.. 더보기
구글.안드로이드.Google.Android.소스. Forwarding.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/Forwarding.html /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable .. 더보기
구글.안드로이드.Google.Android.소스. ReceiveResult.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/ReceiveResult.html /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab.. 더보기
구글.안드로이드.Google.Android.소스. PersistentState.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/PersistentState.html * Copyright (C) 2007 Google Inc. /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab.. 더보기
구글.안드로이드.Google.Android.소스. SaveRestoreState.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/SaveRestoreState.html /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli.. 더보기
구글.안드로이드.Google.Android.소스. HelloWorld.java 원본 : http://code.google.com/android/samples/ApiDemos/src/com/google/android/samples/app/HelloWorld.html /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable .. 더보기
DAO 관련 데이터 베이스 클래스 DAO는 VB에게 익숙한 인터페이스. 이는 데이터베이스를 엑세스하기 위해서 Jet db engine을 사용한다. Jet DB engine 은 MS의 Access의 엔진이다. 이 DAO는 객체지향 모델을 가지며, 관계형 DB 시스템에 대해 계층적 뷰를 제공한다. DAO 지원 MFC 클래스 CDaoWorkspace DB 엔진특성, 트랙잭션관리. 하나이상의 CDaoDatabase객체 관리 CDaoDatabase DB 연결관리 CDaoRecordset 레코드셋 표현,관리. 레코드셋은 테이블,다이너셋,스냅샷타입지원 CDaoRecordView 레코드셋 뷰제공. CFormView 기반. CDaoFieldExchange 레코드셋,DB간 데이터 교환지원. CDaoException DB 조작시 예외처리 CDaoQueryD.. 더보기
ODBC관련 데이터 베이스 클래스 Visual C++에서 다루기 쉬운 데이터 베이스 클래스 CDatabase 데이터 소스를 가지며, 데이터소스에 대한 조작을 지원 CRecordset 선택된 레코드를 포함할 레코드셋을 가짐. 선택된 레코드의 추가, 수정, 삭제, 필터링, 소트지원 CRecordView 레코드셋의 뷰제공. DDX메커니즘으로 레코드뷰와 레코드 셋의 데이터교환. 레코드뷰의 폼뷰같이 다이얼로그기반.레코드간의 이동, 갱신지원 CFieldExchange 레코드셋과 데이터베이스간의 데이터교환. 레코드셋객체의 파라미터,데이터 소스대응 컬럼 포함. CDBException 데이터 엑세스예외처리. CDBVariant Variant 타입표현. 타입에 상관없다. CRecordset함수인 GetFieldValue, GetBookmark, SetBo.. 더보기