![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Clouds (Partially Order Sets) - Streams (Linearly Ordered Sets) - Part 2 | iBot | Complex Event Processing RSS News | 0 | 07-28-2007 03:40 AM |
| Clouds (Partially Order Sets) – Streams (Linearly Ordered Sets) - Part 1 | iBot | Complex Event Processing RSS News | 0 | 07-28-2007 03:40 AM |
| IP Security file sets | zuessh | AIX | 3 | 04-26-2007 12:52 AM |
| Character Sets | PradeepRed | Shell Programming and Scripting | 3 | 10-10-2006 03:39 AM |
| FILE SETS in unix | Aparna_A | UNIX for Advanced & Expert Users | 2 | 08-14-2006 12:12 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
How An Application Sets The Ip Options???
Hello Friends,
I'm involved in test the UDP/IP source code. As you might be knowing, IPv4 provides several options: like Loose Source and Record Route (LSRR), Strict Source and Record Route (SSRR) etc. I wanted to test the above mentioned IP options. My strategy is to write a test application on top of the UDP/IP stack and enable the LSRR and send the datagrams. By monitoring the network traffic (using a tool such as ethereal) we can find out whether those options are working correctly or not. But my problem is: HOW AN APPLICATION SETS THE IP OPTIONS??? BSD provides functions such as getsockopt and setsockopt to change the default behaviour of sockets. But If I see the man page of setsockopt, there are no options to set the above two IP options!! Can any one please let me know how an application enable LSRR & SSRR IPv4 options. Thanks in Advance. Regards, Md. Aamir Ali Bangalore |
| Forum Sponsor | ||
|
|
|
|||
|
You may go through chapter 27 of UNIX Network programming. There author explains get/set of ip options with example.
You use following URL for softcopy. Unix Network Programming, Vol. 1: The Sockets Networking API | Free eBooks Download! - Dheeraj |