Hi,
We are developing a kernel socket library for
win-2k.
- For testing the socket library,We are building a
kernel mode driver.In the
driver entry we created a thread,which handles
further processing.The
thread completes its work and returns
successfully.But when we do the
same operations (socket(),connect(),bind()…etc.)
in driverentry
and STATICALLY ALLOCATE BUFFERS then it GIVES A
BUGCHECK.But if we
dynamically allocate memory to buffers then there is
no problems.We
couldn’t find the reason…
2. Is there any method to querry the TDI about the
ports which are already in
use.
- If we allocate an IRP using TDI library, what
should we return from the
completion routines??
Also can we free them using IoFreeIrp().
For IRP build for TDI_LISTEN, we have to return
STATUS_MORE_PROCESSING_REQUIRED from the completion
routines and for
others We have to return STATUS_SUCCESS or
STATUS_CANCELLED.
waitingg for response…
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com