On 12/19/2012 02:04, kingaceck wrote:
......
I find that after "sock = socket(AF_INET, type|SOCK_CLOEXEC, 0); " the
sock value is -1 and the errno is 24.

errno 24 is EMFILE, on a Linux box, which means there are too many files open by the current user. Since you say you're running it 16 times and the FD limit on Linux defaults to 1024, it means you're probably not closing some files, at least indirectly. If you run your program through valgrind, you'll probably find that you aren't cleaning up all Live555 objects you're using.
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to