Skip to content
QtWS25 Last Chance
  • Sending data over internet

    Unsolved General and Desktop help internet qtcpserver qtcpsocket
    2
    0 Votes
    2 Posts
    512 Views
    JonBJ
    @BodyaGunko Hi and welcome. That's what running a web/HTTP server and exposing the IP over the Internet allows, from any client with a web browser.
  • 0 Votes
    3 Posts
    8k Views
    ?
    Hi @koliva, I have fields to set the IP address [...] I validate if those fields are really IP address using regex Don't do that. QHostAddress::QHostAddress(const QString & address) will do that for you (bool isNull() const). I need to verify also if the given IP address is valid based on given netmask Maybe bool QHostAddress::isInSubnet(const QHostAddress & subnet, int netmask) const does what you want. Btw.: Please don't use special input fields for IPv4 addresses. It's 2015 and all operating systems have IPv6 support. Limiting an application to IPv4 only because of bad GUI design is really stupid.
  • 0 Votes
    9 Posts
    4k Views
    H
    @cybercatalyst Rozumiemy, nie martw się. :) Nigdy, jak dotąd nie korzystałem z klasy QEventLoop. Dzięki za podsunięcie pomysłu, kolejnego sposobu na rozwiązanie tego problemu. :) [ENG] If you don't understand what I wrote, I can rewrite this at english. :) I suppose you speak english. :)