Presentation is loading. Please wait.

Presentation is loading. Please wait.

Winsock 2 API v.s. RSVP Base on Windows NT 4.0 屏東科技大學 指導老師:童曉儒 報告人:余遠澤.

Similar presentations


Presentation on theme: "Winsock 2 API v.s. RSVP Base on Windows NT 4.0 屏東科技大學 指導老師:童曉儒 報告人:余遠澤."— Presentation transcript:

1 Winsock 2 API v.s. RSVP Base on Windows NT 4.0 屏東科技大學 指導老師:童曉儒 報告人:余遠澤

2 Outline 2 Document 3 Spec 3 Book 2 API 3 Installation 3 Install SDK 3 Sample API & Related Code Section 3 Test 3 QoS,Buffer Array…..etc

3 Document 2 Spec  Windows * Sockets 2 Protocol- Specific Annex ( Revision 2.0.3 May 10, 1996 )  Windows * Sockets 2 Application Programming Interface ( Revision 2.2.0 May 10, 1996 )  Winsock 2Generic Mapping ( Version 2.6 03/31/97 )  Windows * Sockets 2 Service Provider Interface ( Revision 2.2.0 May 10, 1996 ) 2 Book 3WinSock 2.0 - By Lewis Napper December 1997

4 API : Installation 2 SDK 3 Intel PC-RSVP Version 1.0 ( BLD 45 : Expiration May 31,1997 ) 2 Sample Code 3 Testrsvp : QoS register process 3 Application Interface 3 Related Function 3 RSVP : Run Test 3 Application Interface 3 Related Function

5 API : Sample Code : Testrsvp Fn Calls Open Socket Register Sender Reserve Release Sender Release Reserve Query QoS Options FD QOS

6 Testrsvp(cont):Open Socket Open Socket Address Family AF_INET Socket Type SOCK_DGRAM Protocol IPPROTO_RSVP

7 Testrsvp(cont):Register A A:A: B B:B: Ioctl Parameters In Buffer Out Buffer Socket Size of In Buffer Size of Out Buffer Session Parameters Destination IP Address Protocol ID( A ) Destination Port No. Option ( B )

8 Testrsvp(cont):Sender A:A: B:B: A B Ioctl Parameters 同前 Session Dest. IP & Port Protocol ID Source Parameters Src. IP & Port Send TSpec 3 Token Rate 3 Token Bucket Size 3 Peak Bandwidth 3 Minimum Policed 3 Maximum Packet Size

9 Testrsvp(cont):Reserve Ioctl Parameters 同前 Session 同前 Source Parameters 同前 Reserve Parameters 3 Reserve Style 3 Wildcard Filter 3 Fixed Filter 3 Shared Explicit 3 Reserve Confirm Required A:A: A

10 Testrsvp(cont):Release Sender Ioctl Parameters 同前 Session 同前 Sender IP & Port

11 Testrsvp(cont):Release Reserve Ioctl Parameters 同前 Session 同前 Host IP Address Sender 3Reserve Style 3 Wildcard Filter 3 Fixed Filter 3 Shared Explicit Filter Specs 3 Add & Remove Item A A:A:

12 Testrsvp(cont):Retrieve Ioctl Parameters Out Buffer Socket Size of Out Buffer

13 Testrsvp(cont):Query QoS Ioctl Parameters 同前 Session 同前 No. of Filter Specs Filter Specs Add & Remove Item

14 Testrsvp(cont):Sequence of Calls Available Open Socket Register Sender Reserve Release Sender Release Reserve Query QoS Selection for Execution

15 Testrsvp(cont):FD_QoS A:A: B:B: A B Enable/Disable FD_QOS Socket FD_QoS Enable Disable Notify Type AsyncSelect EventSelect

16 API : Sample Code : RSVP 2 Run Test 3 QoS reliable 3 Buffer Array


Download ppt "Winsock 2 API v.s. RSVP Base on Windows NT 4.0 屏東科技大學 指導老師:童曉儒 報告人:余遠澤."

Similar presentations


Ads by Google