Hello

I need to develop a Serial Port driver for XP that redirects the COM
port commands to a remote machine via TCP/IP. For writing a pure
Serial Port driver I found an example in Win DDK. But I don't know how
to access TCP/IP stack from kernel mode - I can't use WinSock, can I?
Is there a possibility to send IP packets from kernel mode driver?

Thanks for answers.

Regards
Dominik

Re: Driver for serial port through TCP/IP by Maxim

Maxim
Tue Mar 25 05:47:43 CDT 2008

> Serial Port driver I found an example in Win DDK. But I don't know how
> to access TCP/IP stack from kernel mode - I can't use WinSock, can I?

TDI pre-Vista, WinSock Kernel Vista+

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: Driver for serial port through TCP/IP by Nike

Nike
Tue Mar 25 05:53:38 CDT 2008

On 3$B7n(B25$BF|(B, $B2<8a(B5$B;~(B31$BJ,(B, dominolog <dominiktomc...@gmail.com> wrote:
> Hello
>
> I need to develop a Serial Port driver for XP that redirects the COM
> port commands to a remote machine via TCP/IP. For writing a pure
> Serial Port driver I found an example in Win DDK. But I don't know how
> to access TCP/IP stack from kernel mode - I can't use WinSock, can I?
> Is there a possibility to send IP packets from kernel mode driver?
>
> Thanks for answers.
>
> Regards
> Dominik

Use TDI (Transport Data Interface) to do the job.


Re: Driver for serial port through TCP/IP by dominolog

dominolog
Tue Mar 25 08:39:52 CDT 2008

On Mar 25, 11:53 am, Nike Chen <nikec...@seed.net.tw> wrote:
> On 3$B7n(B25$BF|(B, $B2<8a(B5$B;~(B31$BJ,(B, dominolog <dominiktomc...@gmail.com> wrote:
>
> > Hello
>
> > I need to develop a Serial Port driver for XP that redirects the COM
> > port commands to a remote machine via TCP/IP. For writing a pure
> > Serial Port driver I found an example in Win DDK. But I don't know how
> > to access TCP/IP stack from kernel mode - I can't use WinSock, can I?
> > Is there a possibility to send IP packets from kernel mode driver?
>
> > Thanks for answers.
>
> > Regards
> > Dominik
>
> Use TDI (Transport Data Interface) to do the job.

Thanks to all.