开发者

Use Winsock insde DShow Filter

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜