B
Boomi.s
Guest
Hi All,
Is there any method to bind UDP socket to ethernet adapter interface.
I am creating UDP Datagram WSK socket in my driver code and binding it with local and remote addresses. And it is working fine. But I am facing one problem. Whenever, I disable the ethernet adapter, the WskSend() completion is getting failed as expected and also IRP status returning "No Object Found" error code. When I re-enable the ethernet adapter, the socket write operation is still failing. It seems the socket lost its context with the adapter. So, I am thinking of binding the socket with the ethernet adapter will solve this problem. I may be wrong also.
Any help would be really appreciated.
Thanks,
Boomi
Continue reading...
Is there any method to bind UDP socket to ethernet adapter interface.
I am creating UDP Datagram WSK socket in my driver code and binding it with local and remote addresses. And it is working fine. But I am facing one problem. Whenever, I disable the ethernet adapter, the WskSend() completion is getting failed as expected and also IRP status returning "No Object Found" error code. When I re-enable the ethernet adapter, the socket write operation is still failing. It seems the socket lost its context with the adapter. So, I am thinking of binding the socket with the ethernet adapter will solve this problem. I may be wrong also.
Any help would be really appreciated.
Thanks,
Boomi
Continue reading...