Results 1 to 5 of 5

Thread: QSocketDevice and udp

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QSocketDevice and udp

    Quote Originally Posted by a550ee View Post
    All packets contains same data. Can QSocketDevice cache 'em and cease to receive new as they are exactly the same as old ones?
    Not likely. UDP doesn't discard duplicates.

    And I found one solution: in case client udp QSocketDevice would be recreated after each "server locating" along with QSocketNotify, the program would work fine.
    What happens with the Qt examples related to UDP if you kill the server and restart it again?

  2. #2
    Join Date
    Feb 2006
    Posts
    22
    Qt products
    Qt3
    Platforms
    Unix/X11
    Thanks
    4

    Default Re: QSocketDevice and udp

    What qt examples related to udp? It's Qt-3 and I only sample I found is a opensource network clipboard from some qt enthusiast.

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
  •  
Qt is a trademark of The Qt Company.