[ofw] [ND 3/7] ND:listen APIs
Sean Hefty
sean.hefty at intel.com
Mon Apr 6 11:42:41 PDT 2009
>> STDMETHODIMP CNDListen::
>> Init(SIZE_T Backlog, INT Protocol, USHORT *pPort)
>> {
>> WV_CONNECT_ATTRIBUTES attr;
>> WV_SOCKADDR addr;
>> HRESULT hr;
>>
>> if (Protocol != 6) {
>> return ND_NOT_SUPPORTED;
>
>This check probably belongs in the underlying WV Provider, and for IB it should
>just put the protocol into the SID as defined in the IP Annex (one byte for
>protocol) after doing appropriate boundary checks.
Winverbs is currently only code to support connected endpoints. This is the
restriction that's needed.
>MSMPI doesn't use protocol 6, and there are other potential users of ND that
>may not either.
Winverbs supports connected 0x0106 or datagram 0x0111 protocols.
>Is WinVerbs restricted to the TCP protocol only? I was going to code up a
>patch but I don't see how protocol is specified when creating an endpoint.
There are different endpoints for the two supported protocols.
More information about the ofw
mailing list