network poll error

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
alphanoob
New Cone
New Cone
Posts: 3
Joined: 10 Jan 2010 02:36

network poll error

Postby alphanoob » 10 Jan 2010 02:57

Hi everybody,

i use VLC on Win7 and I would love to use the HTTP-Interface but I can't start it up. The Telnet doesn't work either. If I launch a console interface, it writes continously

Code: Select all

[0x2670acc] main http server error: polling error: Non-socket handle specified
or (after i try to launch a telnet interface):

Code: Select all

[0x590498c] telnet interface error: network poll error
since I have no idea what that could mean and I found nothing on google or in this forum, I would welcome any suggestions, what I can do about this. What exactly is a "polling error"? And which socket causes the problem? Maybe it does interfere with my Apache installation (although the service is deactivated).

Thanks for your help,
alphanoob

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: network poll error

Postby VLC_help » 10 Jan 2010 14:05

And which socket causes the problem? Maybe it does interfere with my Apache installation (although the service is deactivated).
You tried different port numbers for VLC?

alphanoob
New Cone
New Cone
Posts: 3
Joined: 10 Jan 2010 02:36

Re: network poll error

Postby alphanoob » 10 Jan 2010 14:17

'course i did.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: network poll error

Postby VLC_help » 11 Jan 2010 13:53

For some reason the socket handle isn't valid. There was bug related to this on 0.9 nightlies but I assume you are using 1.0.3 where it shouldn't happen.

alphanoob
New Cone
New Cone
Posts: 3
Joined: 10 Jan 2010 02:36

Re: network poll error

Postby alphanoob » 11 Jan 2010 14:42

Hi,

thanks for that info. Maybe I'll do some research on that bug although I use 1.0.3. Maybe I should also try a downgrade to 0.8.

Thanks again,
alphanoob

pamelaluck
New Cone
New Cone
Posts: 2
Joined: 12 Jan 2010 04:56

Re: network poll error

Postby pamelaluck » 12 Jan 2010 13:04

Hello,
This is possible solution of network poll error.
#include <sys/poll.h>
int poll(struct pollfd *ufds, unsigned int nfds, int timeout);
This function is very similar to select() in that they both watch sets of file descriptors for events, such as incoming data ready to recv(), socket ready to send() data to, out-of-band data ready to recv(), errors, etc.
The basic idea is that you pass an array of nfds struct pollfds in ufds, along with a timeout in milliseconds (1000 milliseconds in a second.) The timeout can be negative if you want to wait forever. If no event happen on any of the socket descriptors by the timeout, poll() will return.
Waiting for Valentine day


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 58 guests