[Live-devel] It compiles, but it doesn't work... :-(
Gunar Riwanda
riwanda at yahoo.com
Thu Nov 2 04:47:42 PST 2006
----- Original Message ----
From: wisem <1049588 at aruba.it>
To: live-devel at ns.live555.com
Sent: Thursday, November 2, 2006 12:52:58 PM
Subject: [Live-devel] It compiles, but it doesn't work... :-(
Now I have the .exe file. I have inserted a
test.mpg file in the same dir of
the exe and then I have executed it, but...
It keeps to give me this
message, then exits:
Beginning
streaming...
Beginning to read from
file...
BasicTaskScheduler::SingleStep(): select() fails: No error
In
the debugger I have discovered that the error comes from this instruction
in
'basictaskscheduler.cpp':
int selectResult = select(fMaxNumSockets,
&readSet, NULL, NULL,
&tv_timeToDelay);
when it reach this
instruction, the select returns -1 and the
WSAGetLastError gives the
"WSAENOTSOCK - Error 10038" that should means:
'Socket operation on
non-socket'...
What can it be? What should I do? In the test program I
have not modified
nothing... I have to modify some address or some
port?
Thanks in advance,
Wisem
_______________________________________________
quite confusing that the program has an error, but it says "no error", isn't it?
That was exactly my problem. But i'm not sure now how i solved it. Sorry.
One thing i can remember:
i followed the instruction on how to build the code in windows once again.
Built it with nmake on command prompt.
linked all the necessary include & lib files plus "ws2_32.lib" (maybe you can try to link this "ws2_32.lib" too. and tell us whether it works or not.)
and that's just it actually.
good luck.
ps:The test programs work just fine without any additional change.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20061102/9651ffe0/attachment.html
More information about the live-devel
mailing list