Results 1 to 2 of 2

Thread: Help with this

  1. #1
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Help with this

    I'm trying to do one chat with xmpp but i have questions about this. My first problem is when i run my xmpp program show me a firewall message the first time when i connect to the server xmpp. I can avoid this with some proxy or some type of connection. Thx in advance.

  2. #2
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: Help with this

    Quote Originally Posted by davinciomare View Post
    I'm trying to do one chat with xmpp but i have questions about this. My first problem is when i run my xmpp program show me a firewall message the first time when i connect to the server xmpp. I can avoid this with some proxy or some type of connection. Thx in advance.
    The firewall message is from your operating system and/or anti-virus software when you attempt a direct socket connection and there's no way to bypass that for obvious reasons. The QTcpSocket class supports the use of a proxy via QTcpSocket::setProxy, so that may be an option, but you'll have to read the doc and try it to see if you can make it work for your needs.

    The obvious question, however, is why is the firewall message an issue for you? Shouldn't your users be allowed to control which connections they want to allow or deny?
    I write the best type of code possible, code that I want to write, not code that someone tells me to write!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.