Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Champion stenlik's Avatar
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,

    I want to ensure, once I call RSocket::RecvFrom() to listen on a given port number for incoming UDP data and the UDP datagram size is bigger then buffer specified in the RecvFrom() method - data are lost?

    Thanks,

    BR
    STeN

  2. #2
    Regular Contributor nmnir's Avatar
    Join Date
    May 2003
    Posts
    471
    Hi,

    I think that the data may still be in the driver buffer (if the data you are sending is not to big for it) so if you call RecvFrom few times fast enough you should be able to get all the data.

    Nahum

  3. #3
    Registered User david.caabeiro's Avatar
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678
    With datagrams it will be lost. You can prevent this by using the KSockReadContinuation flag. In such cases, the TSockXfrLength param can be handy, as it indicates the number of remaining bytes in the datagram.

  4. #4
    Nokia Developer Champion stenlik's Avatar
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,

    thanks guys for advices - I will try it and keep you updated how it works and what are my results.

    Regards,
    STeN

Similar Threads

  1. Weird Problem with find box Kern-Exec-3
    By sohilr in forum Symbian C++
    Replies: 7
    Last Post: 2007-12-05, 04:10
  2. KERN-EXEC 3 with CEikEdwin
    By acarrion in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-17, 14:43
  3. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  4. The correct meaning of MAX JAR size
    By bigrio in forum Mobile Java General
    Replies: 1
    Last Post: 2004-11-16, 10:30
  5. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved