[Live-devel] OpenRTSP

Ross Finlayson finlayson at live555.com
Thu Apr 27 05:42:45 PDT 2006


>    selectResult -1
>     err  10038

On Windows, error 10038 is "ENOTSOCK".  I don't know why "select()" 
would be returning this error (this doesn't happen on Unix 
systems).  However, to overcome this, try each of the following, in order:

1/ Change line 77 of "BasicUsageEnvironment/BasicTaskScheduler.cpp" from
         if (err == WSAEINVAL && readSet.fd_count == 0) {
to
         if ((err == WSAEINVAL || err == WSAENOTSOCK) && 
readSet.fd_count == 0) {

If that doesn't work, then:

2/ Change line 85 from:
         if (errno != EINTR && errno != EAGAIN) {
to
             if (errno != EINTR && errno != EAGAIN && errno != ENOTSOCK) {

If that doesn't work, then
3/ Comment out the call
         exit(0);
on line 91.

Please let us know which of these worked for you.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list