开发者

Use Winsock insde DShow Filter

开发者 https://www.devze.com 2022-12-10 08:14 出处:网络
I am trying开发者_开发技巧 to develop a DirectShow filter with internet access. When I try to use Winsock,

I am trying开发者_开发技巧 to develop a DirectShow filter with internet access.

When I try to use Winsock,

1) In TCP, I wait connections but cannot access to server (try with Telnet) and

2) In UDP in data wait step (recvfrom(...)) program breaks.

Is it not possible? Or do I have to change library settings for the filter?


Do you remember to call WSAStartup before creating sockets?

Also do you check your return values from calls such as "socket"? Its definitely not returning an INVALID_SOCKET?

0

精彩评论

暂无评论...
验证码 换一张
取 消