September 21, 2010

sinboo sinboo
Lab Rat
2 posts

QUdpSocket::setProxy crash

 

Code:

  1.     QNetworkProxy proxy;
  2.     proxy.setHostName("192.168.100.101");
  3.     proxy.setPort(1080);
  4.     proxy.setType(QNetworkProxy::Socks5Proxy);
  5.     proxy.setUser("");
  6.     proxy.setPassword("");
  7.  
  8.     this->udpsocket->setProxy(proxy);
  9.     QHostAddress abc("192.168.100.100");
  10.     qDebug() << "socket bind result:" << this->udpsocket->bind(abc,3321);

about 5 minutes, app crash….

4 replies

September 21, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

Please report a bug [bugreports.qt.nokia.com] if you are sure this is a Qt issue. Thanks!

September 21, 2010

sinboo sinboo
Lab Rat
2 posts

ok. reported the bug.

September 21, 2010

Tobias Hunger Tobias Hunger
Mad Scientist
3224 posts

Thanks!

Can you post a link here?

September 21, 2010

sinboo sinboo
Lab Rat
2 posts

Here: http://bugreports.qt.nokia.com/browse/QTBUG-13790 [bugreports.qt.nokia.com]

Sorry, i just log out ….

 
  ‹‹ How to use QGLPixelBuffer or QGLFramebufferObject in QGraphicsItem paint      Problem linking a foreign static library ››

You must log in to post a reply. Not a member yet? Register here!