Results 1 to 4 of 4

Thread: QUdpSocket sample code

  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default QUdpSocket sample code

    Hi
    i want a simple QUdpSocket sample which send a string and receive a string from other server!
    thanks

  2. #2
    Join Date
    Aug 2009
    Location
    Greece, Chania
    Posts
    63
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: QUdpSocket sample code

    Misha R.evolution - High level Debugging IDE

    Programming is about 2 basic principles: KISS and RTFM!!!

  3. The following user says thank you to Archimedes for this useful post:

    TheIndependentAquarius (20th June 2014)

  4. #3
    Join Date
    Nov 2013
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Windows

    Default Re: QUdpSocket sample code

    Dear knowledgeable ones,

    I noticed this thread is from 2009, and Qt 4.6.3 My attempts to build these fail miserably using 5.2

    Are there vital parts missing as a result of the passage of time?

  5. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,734
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QUdpSocket sample code

    Yes, things have changed so that using the 4.6.2 example source code will not compile with Qt5. I don't know why you would try to do that when the Qt5 packages include the exact same examples adapted to Qt5.

  6. The following user says thank you to ChrisW67 for this useful post:

    TheIndependentAquarius (20th June 2014)

Similar Threads

  1. QFtp sample program
    By comlink21 in forum Qt Programming
    Replies: 7
    Last Post: 27th April 2012, 08:59
  2. UTF-8 Issues in Sample
    By trevelyan in forum Newbie
    Replies: 6
    Last Post: 19th May 2011, 01:41
  3. Sample for Mutithreading
    By HugoHiasl in forum Qt Programming
    Replies: 19
    Last Post: 1st July 2010, 07:43
  4. Problem with QSettings sample
    By neoclaw in forum Qt Programming
    Replies: 3
    Last Post: 3rd June 2010, 09:52
  5. mysql connection sample
    By mohanakrishnan in forum Newbie
    Replies: 3
    Last Post: 12th November 2009, 16:23

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.