×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2007
    Location
    Moratuwa, Sri Lanka
    Posts
    86

    Broadcasting a UDP message

    Hi All,

    Is there any way that I can broadcast an UDP packet in a WLAN ?

    At the same time, can we get the source address of such received socket ?

    Regards,
    Primal

  2. #2
    Regular Contributor
    Join Date
    Nov 2007
    Location
    Moratuwa, Sri Lanka
    Posts
    86

    Re: Broadcasting a UDP message

    Hi,

    I managed to broad cast the message. What I need now is to get the source IP address of the broadcast socket ?

    Can we get the source address of a recieved socket ?

    Regards,
    Primal

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Broadcasting a UDP message

    Since you probably use RecvFrom for receiving, you might consider checking what happens with the passed TSockAddr.

  4. #4
    Regular Contributor
    Join Date
    Nov 2007
    Location
    Moratuwa, Sri Lanka
    Posts
    86

    Re: Broadcasting a UDP message

    Thanx wizard_hu,

    When i check the destAddr specified in the RecvFrom method, i got the source address the broadcast packet.

    Regards,
    Primal

Similar Threads

  1. Problem with Cabride.c++ v1.1
    By markovuksanovic in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2007-01-24, 20:05
  2. Replies: 1
    Last Post: 2006-12-18, 20:04
  3. Replies: 5
    Last Post: 2006-08-28, 14:35
  4. Help on sending Message :(
    By vasant21 in forum Symbian
    Replies: 1
    Last Post: 2006-07-07, 06:38
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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