×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Buffrer size for RSocket::RecvFrom()

    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
    Join Date
    May 2003
    Posts
    471

    Re: Buffrer size for RSocket::RecvFrom()

    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
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: Buffrer size for RSocket::RecvFrom()

    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
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Buffrer size for RSocket::RecvFrom()

    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
    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
  •  
×