![]() |
AddOption_RecordRoute() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: SpoofSocket.h |
void AddOption_RecordRoute( int iMaxRoutes);
try { //Option for strict routine //Add option strict route tOptionType OT; //Get the option OT=GetOption(IPOption_DONT_COPY,IPOption_CONTROL,IPOption_RECORD_ROUTE); //Add it to buffer AddToBuffer((char*)&OT,sizeof(OT)); //Add the length OT=iMaxRoutes*4+IPOption_STRICT_ROUTING_LENGTH; AddToBuffer((char*)&OT,sizeof(OT)); //Add the pointer OT=IPOption_STRICT_ROUTING_POINTER; AddToBuffer((char*)&OT,sizeof(OT)); char cNothing[IPOption_SIZE]=""; AddToBuffer(cNothing,iMaxRoutes*4); } ERROR_HANDLER("AddOption_RecordRoute")
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 24 Apr 2001. |