×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155

    Unhappy Which client accepted ?

    After sending multiple invitation clients can accept in random order.

    At server

    ....
    listen(x)
    .....


    RunL() // will execute when client socket try to connect
    {
    //
    }

    To show which client accepted invitation, In RunL function I need to get client IP.

    How I can get IP ?


    Suraab

  2. #2
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    153
    Hi,

    I think this will help you,

    RSocket::RemoteName(TSockAddr& anAddr);


    Correct me if i'm wrong.

    Regards,
    Sunil

  3. #3
    Regular Contributor
    Join Date
    Nov 2004
    Location
    Mumbai - India
    Posts
    155
    How I can extract IP from TSockAddr ?
    In debug mode I checked but It does not contain IP.


    Saurabh

Posting Permissions

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