Hi,
I am new to TDI based Client.
I am developing TDI based Client for TCP.
I have 2 queries.
1.Can I set a time out value for TdiBuildReceive ?
2.There is function in user mode
setsockopt(Socket, SOL_SOCKET, SO_RCVBUF,
(char*)(pOptVal), sizeof(long) );
SO_RCVBUF:The total per-socket buffer space reserved for receives.
How to do this in Kernel mode using TDI ?
Thanks,
Manoj
This sure doesn’t look like anything associated with file systems.
wrote in message news:xxxxx@ntfsd…
> Hi,
>
> I am new to TDI based Client.
> I am developing TDI based Client for TCP.
>
> I have 2 queries.
>
> 1.Can I set a time out value for TdiBuildReceive ?
> 2.There is function in user mode
>
> setsockopt(Socket, SOL_SOCKET, SO_RCVBUF,
> (char*)(pOptVal), sizeof(long) );
>
>
> SO_RCVBUF:The total per-socket buffer space reserved for receives.
>
> How to do this in Kernel mode using TDI ?
>
>
> Thanks,
> Manoj
>
>
>
>
> SO_RCVBUF:The total per-socket buffer space reserved for receives.
How to do this in Kernel mode using TDI ?
TDI is below SO_RCVBUF implementation (the receive buffer is implemented in afd.sys)
tcpip.sys does no buffering at all.
What you need is to implement your own receive buffer, and then add your own SO_RCVBUF implementation there.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
Thanks for Information Maxim.