![]() |
AddOption_Stream() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: SpoofSocket.h |
void AddOption_Stream( unsigned short usStreamID);
try { //Add option security tOptionType OT; //Get the option OT=GetOption(IPOption_COPY,IPOption_CONTROL,IPOption_STREAM); //Add it to buffer AddToBuffer((char*)&OT,sizeof(OT)); //Add length OT=IPOption_STREAM_LENGTH; AddToBuffer((char*)&OT,sizeof(OT)); //Add options unsigned short usnStreamID; usnStreamID=htons(usStreamID); AddToBuffer((char*)&usnStreamID,sizeof(usnStreamID)); } ERROR_HANDLER("AddOption_Stream")
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |