Both must open \Device\Tcp, but the extended attributes are different.
Max
----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Thursday, September 27, 2001 7:55 PM
Subject: [ntdev] Re: TDI
I’ve the TDI example but that uses UDP and seems to be little different than TCP.
DDK says:
If a local-node client requires connection-oriented communication with a remote-node peer process, the local-node client must first open a transport address and then open a connection endpoint in its underlying transport. The client makes two calls to ZwCreateFile, first to open an address and, then, a connection endpoint.
I can’t understand what should I open with the two calls using the ZwCreateFile API.
First I should open a transport address, then a connection endpoint. One of the call will open (\device\tcp …i suppose…which one ?) and the other ?
someone can help?
Thanks
Matteo
----- Original Message -----
From: Thomas F. Divine
To: NT Developers Interest List
Sent: Thursday, September 27, 2001 5:19 PM
Subject: [ntdev] Re: TDI
There is a 1999 article from the OSR “NT Insider” that may help. Fetch TDI.ZIP from this URL:
http://www.osr.com/ntinsider_1999.shtml
If you need to license more complete samples, see:
http://www.pcausa.com/tdisamp/default.htm
Good luck,
Thomas F. Divine
PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:
----- Original Message -----
From: Matteo Pelati
To: NT Developers Interest List
Sent: Thursday, September 27, 2001 10:46 AM
Subject: [ntdev] TDI
Hello,
When opening \device\tcp using ZwCreateFile() it isn’t quite clear to me what the EaBuffer should contain in order to set-up a TCP connection.
Someone has a brief code example of how to initiate a TCP connection using TDI ?
Thanks
Matteo
—
You are currently subscribed to ntdev as: xxxxx@pcausa.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@dolce.it
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>