Re: best source address (TDI)
- From: "Thomas F. Divine [DDK MVP]" <tdivine@xxxxxxxxxxxxxxxx>
- Date: Sat, 17 Jun 2006 22:42:28 -0400
The best source address for the local endpoint using Winsock or TDI is INADDR_ANY (0). Let the stack figure out what interface and IP address to use.
You would specifiy a particular local interface (local IP address) only if you had some requirement to bind only to a particular interface.
Good luck,
Thomas F. Divine, Windows DDK MVP
http://www.pcasua.com
<pg.gupta@xxxxxxxxx> wrote in message news:1150591869.563566.185610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I want to find the best source address for a given destination address
in a TCP TDI filter, and bind the connection endpoint to that source
address. How can I do this in TDI?
Thanks,
Piyush
PS: Is this the right list for this question?
.
- Follow-Ups:
- Re: best source address (TDI)
- From: pg . gupta
- Re: best source address (TDI)
- References:
- best source address (TDI)
- From: pg . gupta
- best source address (TDI)
- Prev by Date: best source address (TDI)
- Next by Date: Re: WHQL NDIS 2c_CheckConnections.wsf says that our card fails to receive packets but...
- Previous by thread: best source address (TDI)
- Next by thread: Re: best source address (TDI)
- Index(es):
Relevant Pages
|