Search the web
Sign In
New User? Sign Up
ace-users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[ace-users] Re: ACE_SOCK_Dgram not receiving all packets   Message List  
Reply | Forward Message #42973 of 42992 |
Hi,

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
error-prone and slows down our responsiveness.

>> I am using ACE_SOCK_Dgram in my client and server. If I start one
>> client and one server, then server recevies all the packets
>> successfully.
>>
>> But if I start more than one client simultaneously, then server does
>> not receive all the packets and send and recv methods are not throwing
>> any errors .

That's no surprise - you're probably sending the packets faster than
the kernel can allocate buffer space for them.

>> Do I need to set any flag in send and recv methods of ACE_SOCK_Dgram ?

No, that won't make any differencde - plus, there are no such flags.

>> My clients and server are running on the same machine. So UDP packets
>> should not get misplaced..

That assumption is misplaced - you can't assume ANYTHING about the
reliability of UDP. If you want to make sure all the packets are
received, you'll either need to use TCP, UNIX domain sockets, or
implement a retransmission layer atop UDP.

Take care,

Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Institute for Software Integrated Systems WEB:
www.dre.vanderbilt.edu/~schmidt
Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@...



Fri Oct 7, 2005 10:46 pm

schmidt@...
Send Email Send Email

Forward
Message #42973 of 42992 |
Expand Messages Author Sort by Date

Hi, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in ...
Douglas C. Schmidt
schmidt@...
Send Email
Oct 7, 2005
10:50 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help