Packet Filtering

MFC를 사용하여 패킷 필터링을 하는 방법이다.

함수 지원 문제로 vs6에서는 동작하지 않으며,

vs.net 이상에서만 지원한다.



CPacketFilter 클래스는 AddFilter, RemoveFilter 두함수를 가지고있다.

int AddFilter(int nDirection,

  LPCTSTR lpszSrcAddr,

  LPCTSTR lpszSrcMask,

  LPCTSTR lpszDstAddr,

 LPCTSTR lpszDstMask,

  int nSrcPort,

  int nDstPort,

  int nProtocol);



int RemoveFilter(int nDirection,

  LPCTSTR lpszSrcAddr,

 LPCTSTR lpszSrcMask,

 LPCTSTR lpszDstAddr,

  LPCTSTR lpszDstMask,

  int nSrcPort,

  int nDstPort,

  int nProtocol);




MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/packet_filtering_functions.asp

참고사이트: http://www.codeproject.com/managedcpp/packetfilteringnet.asp

Posted by 헤즈

2006/12/04 17:56 2006/12/04 17:56
Response
No Trackback , No Comment
RSS :
http://blog.haz3.com/rss/response/25

Trackback URL : http://blog.haz3.com/trackback/25

« Previous : 1 : ... 191 : 192 : 193 : 194 : 195 : 196 : 197 : 198 : 199 : ... 217 : Next »

블로그 이미지

행복... 하길.

- 헤즈

Notices

Archives

Authors

  1. 헤즈

Calendar

«   2010/07   »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Site Stats

Total hits:
116171
Today:
11
Yesterday:
51