Re: LSP bypass method - pls help

From: Jorge Cercadillo (JorgeCercadillo_at_discussions.microsoft.com)
Date: 01/19/05


Date: Wed, 19 Jan 2005 06:21:06 -0800

Yeah, thats true.
What I do now, if I detect there are calls in that socket after WSPSocket, I
pass it directly to the lower level provider. For that, I keep I list of
[Socket, pointer to lower level provider] in WSPSocket call, that I use later
if needed.

> Yes, I am aware of this method also, but this one has a trade-off: your
> LSP has to be always on top. If there is another LSP over your LSP the
> bypassed applications won't work, that is why I have chosen the other
> method that doesn't have this trade-off.
>
> Viv
>
> >A good method for bypassing some processes in your LSP is to return the lower
> >provider socket in WSPSocket. Winsock will bypass you automatically in all
> >the others call made to that socket.
> >
> >It works in W95/98/ME/NT/2K/XP.
> >
> >You must change your WSPStartup also, because you don't need to Initialize
> >the Overlapped and Asyncronous Threads.



Relevant Pages

  • Re: Related to LSP
    ... when i am trying to create a socket on port 5101 it is giving me ... IFS Model is and how it is related to Overlapped I/O.. ... OVerlapped I/O: One creates a separate thread for each socket created ... "An LSP cannot create socket handles that are true IFS handles since ...
    (microsoft.public.win32.programmer.networks)
  • Re: forwarding network traffic
    ... Isn't that an infinite loop? ... a socket, and save it's value somewhere. ... Although the documentation says that the LSP does nothing if I install ... I need to uninstall it to get my network ...
    (microsoft.public.win32.programmer.networks)
  • Re: Related to LSP
    ... when i am trying to create a socket on port 5101 it is giving me ... IFS Model is and how it is related to Overlapped I/O.. ... OVerlapped I/O: One creates a separate thread for each socket created ... "An LSP cannot create socket handles that are true IFS handles since ...
    (microsoft.public.win32.programmer.networks)
  • Re: with new lsp sample, winhttp causes memory leakages
    ... Thanks for reporting this issue with the PSDK LSP sample. ... > rajesh", without quotes. ... > SOCKET conn_socket; ... > *lpErrno = WSAENOBUFS; ...
    (microsoft.public.win32.programmer.networks)
  • Re: Related to LSP
    ... be aware that IFS LSP you can install only beneath all ... Like on my computer the highest LSP is non-IFS Google Desktop ... when i am trying to create a socket on port 5101 it is giving me ... OVerlapped I/O: One creates a separate thread for each socket created ...
    (microsoft.public.win32.programmer.networks)