×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    11

    How to Convert????

    Dear friends,

    I having a variable as:
    unsigned char ip[64];

    TInetAddr addr;
    addr. SetAddress(ip);


    But the prototype of setAddress is :
    void SetAddress(TUint32 anAddr);

    How to convert the unsigned char to an TUint32 Or what is the typecasting that is to be performed?

    Urs,
    ram

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143
    check if you could use TInetAddr class for achieving this.

    yucca

Posting Permissions

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