Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Elvis Stansvik
2016-05-13 23:04 GMT+02:00 Thiago Macieira : > On sexta-feira, 13 de maio de 2016 20:33:53 PDT Elvis Stansvik wrote: >> 2016-05-13 19:41 GMT+02:00 Thiago Macieira : >> > You can't reuseaddr with TCP. >> >> Hmm, I thought that was quite common in TCP servers? To use >> SO_REUSEADDR in order to avoid

Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Thiago Macieira
On sexta-feira, 13 de maio de 2016 20:33:53 PDT Elvis Stansvik wrote: > 2016-05-13 19:41 GMT+02:00 Thiago Macieira : > > You can't reuseaddr with TCP. > > Hmm, I thought that was quite common in TCP servers? To use > SO_REUSEADDR in order to avoid the IP/port combo remaining in the > TIME_WAIT sta

Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Elvis Stansvik
2016-05-13 19:18 GMT+02:00 Elvis Stansvik : > 2016-05-13 18:42 GMT+02:00 Elvis Stansvik : >> Hi all, >> >> I'm looking for a way to control the socket options used for the listening >> socket of a QWebSocketServer. >> >> Is there really no way of doing this short of setting up a native socket >> my

Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Elvis Stansvik
2016-05-13 19:41 GMT+02:00 Thiago Macieira : > On sexta-feira, 13 de maio de 2016 18:42:16 PDT Elvis Stansvik wrote: >> Hi all, >> >> I'm looking for a way to control the socket options used for the listening >> socket of a QWebSocketServer. >> >> Is there really no way of doing this short of setti

Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Thiago Macieira
On sexta-feira, 13 de maio de 2016 18:42:16 PDT Elvis Stansvik wrote: > Hi all, > > I'm looking for a way to control the socket options used for the listening > socket of a QWebSocketServer. > > Is there really no way of doing this short of setting up a native socket > myself and passing it to se

Re: [Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Elvis Stansvik
2016-05-13 18:42 GMT+02:00 Elvis Stansvik : > Hi all, > > I'm looking for a way to control the socket options used for the listening > socket of a QWebSocketServer. > > Is there really no way of doing this short of setting up a native socket > myself and passing it to setSocketDescriptor? The optio

[Interest] Setting socket options for QWebSocketServer

2016-05-13 Thread Elvis Stansvik
Hi all, I'm looking for a way to control the socket options used for the listening socket of a QWebSocketServer. Is there really no way of doing this short of setting up a native socket myself and passing it to setSocketDescriptor? The option I wish to set is SO_REUSEADDR in UNIX terms, so I want