Re: [twsocket] udp server and network configuration changes

2012-02-05 Thread Emanuele Bizzarri
Hi Francois, thank you for your response. In the meanwhile, I also have found NotifyAddrChange function. It is already wrapped inside JwaIpHlpApi by jedi project. For now I'm using network interface polling. Bye - Messaggio originale - Da: "François Piette" A: "ICS support mailing" I

Re: [twsocket] [PATCH] THttpSrv: add support for returning partialstreams

2012-02-05 Thread Tobias Rapp
Arno Garrels wrote (in a response to RTT): > Problem is that AnswerStreamAcceptRange can only be used > for OK-responses. Yes, that is right and like you said I only use it for some of the responses where it makes sense for the client (to allow seeking within streamed audio files). > I just chec

Re: [twsocket] [PATCH] THttpSrv: add support for returningpartialstreams

2012-02-05 Thread Arno Garrels
RTT wrote: > On 05-02-2012 17:38, Arno Garrels wrote: >> Problem is that AnswerStreamAcceptRange can only be used >> for OK-responses. > If I'm understanding this correctly, can't the status parameter be > added, and then response handled accordingly? It could be done of course, but since status i

Re: [twsocket] [PATCH] THttpSrv: add support for returning partialstreams

2012-02-05 Thread RTT
On 05-02-2012 17:38, Arno Garrels wrote: Problem is that AnswerStreamAcceptRange can only be used for OK-responses. If I'm understanding this correctly, can't the status parameter be added, and then response handled accordingly? Right now I don't need this functionality. I'm just trying to under

Re: [twsocket] [PATCH] THttpSrv: add support for returning partialstreams

2012-02-05 Thread Arno Garrels
RTT wrote: > On 05-02-2012 12:15, Arno Garrels wrote: >> So there must be an option to allow >> ranges on a per request basis. A new method would provide such an >> option. > I see. A new method then (and "AnswerStreamAcceptRange" seems more > appropriate). > Or, probably better, replace the Ans

Re: [twsocket] [PATCH] THttpSrv: add support forreturningpartialstreams

2012-02-05 Thread RTT
On 05-02-2012 12:15, Arno Garrels wrote: So there must be an option to allow ranges on a per request basis. A new method would provide such an option. I see. A new method then (and "AnswerStreamAcceptRange" seems more appropriate). Or, probably better, replace the AnswerStream code with the ne

Re: [twsocket] [PATCH] THttpSrv: add support forreturningpartialstreams

2012-02-05 Thread Arno Garrels
RTT wrote: > On 04-02-2012 16:45, Arno Garrels wrote: >> That's a question too, IMO accept/handle ranges should be optional >> and silently changing the default behaviour of an existing method is >> questionable, no? > > I totally agree with that. The server should have an options property > to sp