본문 바로가기

epoll 함수와 구조체 파라미터 출처 : http://blog.naver.com/PostView.nhn?blogId=ods81&logNo=50148115013 1. select 와 비교한 epoll의 장점 상태변화의 확인을 위한, 전체 파일 디스크립터를 대상으로 하는 반복문이 필요없다. select 함수에 대응하는 epoll_wait 함수 호출시, 관찰대상의 정보를 매번 전달할 필요가 없다. 상태변화 관찰에 더 나은 방법을 제공한다. 그리고 커널에서 상태정보를 유지하기 때문에 관찰대상의 정보를 매번 전달하지 않아도 된다. 2. epoll의 구현에 필요한 함수와 구조체 epoll_create : epoll 파일 디스크립터 저장소 생성 epoll_ctl : 저장소에 파일 디스크립터 등록 및 삭제 epoll_wait : select 함수와 .. 더보기
[무선랜] 네스팟 MAC 인증 방식 KLDP 에서도 몇건 안된다고 리포팅이 올라왔고.. 저역시 그곳에서 해답을 얻었습니다.. 증상 : Windows , *BSD 에서는 IP 를 받아오는데 유독 리눅스(저같은경우는 배포본 4개 실험-_-)에서 못받아옵니다 . 해결방법 http://kldp.org/node/106449 /ect/dhclient-eth0.conf 을 만들고 이화일에 interface "eth0" { send host-name "main-firewall" ; send dhcp-client-identifier 00:90:F5:69:E7:18 ; script "/sbin/dhclient-script" ; } dhcp-client-identifier 에 입력하는건 lan 카드 맥 어드레스 ifconfig 를 통해서 확인할수있습니다.. .. 더보기
[MSDN] GetSystemMetrics () nIndex The system metric or configuration setting to be retrieved. This parameter can be one of the following values. Note that all SM_CX* values are widths and all SM_CY* values are heights. Also note that all settings designed to return Boolean data represent TRUE as any nonzero value, and FALSE as a zero value. Value Meaning SM_ARRANGE 56 The flags that specify how the system arranged minimiz.. 더보기
[MSDN] GetSysColor() nIndex The display element whose color is to be retrieved. This parameter can be one of the following values. Value Meaning COLOR_3DDKSHADOW 21 Dark shadow for three-dimensional display elements. COLOR_3DFACE 15 Face color for three-dimensional display elements and for dialog box backgrounds. COLOR_3DHIGHLIGHT 20 Highlight color for three-dimensional display elements (for edges facing the light .. 더보기
TCP port 할당 현황 RFC1700 http://www.ietf.org/rfc/rfc1700.txt?number=1700 더보기