Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. sockets
    Log in to post

    • SOLVED any Windows networking mavens out there?
      Brainstorm • windows sockets broadcast • • mzimmers  

      20
      0
      Votes
      20
      Posts
      441
      Views

      @mzimmers If i iterate over the interfaces like in your script, then it works with no problem :) Running on windows :) When using only the QHostAddress::Broadcast I get the wrong broadcast addr. I too think it is strange, but this is no issue for me, as it's always simple to determine the right address by code or manually :) just strange as you say :) Anways, off to new issues :D
    • SOLVED UDP Socket - writeDatagram uses IPv6 and not IPv4
      General and Desktop • networking sockets ipv6 ipv4 • • mikkel1156  

      8
      0
      Votes
      8
      Posts
      1107
      Views

      @aha_1980 said in UDP Socket - writeDatagram uses IPv6 and not IPv4: Then why not use QHostAddress::AnyIPv4 ? Looks more clear to me... Learn something new everyday :)
    • SOLVED How to make a UDP server to sent and recieve data?
      General and Desktop • network server udp sockets • • ChristianMontero  

      4
      0
      Votes
      4
      Posts
      1084
      Views

      @ambershark Thank you very much for your help, now it's working, it seems like I was passing the IP argument incorrectly, now I know that I have to send this parameter inside a QT function. thanks!