t-artistik / qtscriptgenerator

Automatically exported from code.google.com/p/qtscriptgenerator
0 stars 0 forks source link

QTcpServer.listen doesn't work if given options #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
new QTcpServer().listen() always returns true.
new QTcpServer().listen( QHostAddress.Any ) always returns false.

However, given that QHostAddress.Any is the default, they should have
exactly the same behavior.

Original issue reported on code.google.com by ian.mon...@gmail.com on 30 Jul 2008 at 2:46

GoogleCodeExporter commented 8 years ago
Ok, I was just doing it wrong. :) 

new QTcpServer().listen( new QHostAddress( QHostAddress.Any ) ) works fine

Original comment by ian.mon...@gmail.com on 30 Jul 2008 at 7:24

GoogleCodeExporter commented 8 years ago

Original comment by kentm...@gmail.com on 19 Aug 2008 at 7:36