Re: [Interest] QTcpSocket bind method failed when proxy server is configured in windows OS

2017-07-03 Thread neel patel
Yes. It is HTTP proxy. Thank you Thiago for the information. Thanks On Mon, Jul 3, 2017 at 10:04 PM, Thiago Macieira wrote: > On segunda-feira, 3 de julho de 2017 03:14:32 PDT neel patel wrote: > > Hi, > > > > I am just finding the free available random port using below code in > > windows OS.

Re: [Interest] QTcpSocket bind method failed when proxy server is configured in windows OS

2017-07-03 Thread Thiago Macieira
On segunda-feira, 3 de julho de 2017 03:14:32 PDT neel patel wrote: > Hi, > > I am just finding the free available random port using below code in > windows OS. ( Using Qt 5.9.1 ). > > > *quint16 port = 0L;* > *QTcpSocket socket;* > *socket.bind(0, QTcpSocket::ShareAddress);* > *port = s

[Interest] QTcpSocket bind method failed when proxy server is configured in windows OS

2017-07-03 Thread neel patel
Hi, I am just finding the free available random port using below code in windows OS. ( Using Qt 5.9.1 ). *quint16 port = 0L;* *QTcpSocket socket;* *socket.bind(0, QTcpSocket::ShareAddress);* *port = socket.localPort();* Windows OS - When the proxy server is not configured then above cod