Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Mpxplay v1.60 alpha 3 (HTTP,Opus, HDA) (Announce)

posted by Mpxplay, 29.12.2012, 15:19

> Yes I got an error:
> HTTP: getting IP address... (1/10s)
> HTTP: couldn't open socket! (forever)

Thnx.
The max number of sockets in SWS lib is 16 by default.
I close the socket after playing of a http file/stream, but I don't know what's happening in the SWS part, maybe it doesn't close really the socket (keeps opening), and when you reach the 16 (14-15 skip in Mpxplay), you cannot open more sockets...

I've added a SWS-reinit if a socket open fails, but I don't think so that this is the perfect solution... :-|

You can put a "sockets = NUM" variable in the [tcp] part of the sws_sock.ini file, try to set it to lower or higher value than 16, and see what's changing then.
(see config.txt in this zip: http://www.softsystem.co.uk/download/swssock/SwsSockSrc213.zip )

btw. how long time to skip between http streams?
(The real question: how long is to close a http socket? Maybe it fails with a timeout...)

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 295 users online (0 registered, 295 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum