×

Discussion Board

Results 1 to 2 of 2

Thread: UDP Example

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    14

    UDP Example

    Hi,

    Really new to QT and Symbian, just compiled the broadcast send and receive examples. I cannot get either to work on the phone but can get it to work in the emulator. The send returns -1.

    QNetworkInterface myInterface;
    myHardwareAddress = myInterface.hardwareAddress();

    Returns an empty string.

    A long long time ago, (not on a far distant planet), using carbide I think it was capabilities and NetworkService that was required but I cannot fathom whether this is the case to QT.

    Please help.
    Thanks,
    Iain

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    14

    Re: UDP Example

    Dug a little deeper, updated to 1.0.2 and added


    CONFIG += mobility
    MOBILITY += bearer

    TARGET.CAPABILITY = ReadUserData NetworkServices

Similar Threads

  1. Send UDP more UDP datagram
    By Fracky in forum Symbian C++
    Replies: 0
    Last Post: 2007-04-24, 18:58
  2. How to run Listbox Control Example in Series60 Example
    By ctpthanh in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-03-11, 16:06
  3. UDP socket example for 7650
    By smallfish_ntu in forum Symbian C++
    Replies: 0
    Last Post: 2003-08-21, 05:35
  4. UDP socket example for 7650
    By smallfish_ntu in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-08-21, 05:29
  5. MMS Java Library - 'Howto SMIL usage Example' & 'Example Bug'
    By Oliver_Schramm in forum General Messaging
    Replies: 1
    Last Post: 2002-07-19, 08:02

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •