Results 1 to 10 of 24
Threaded View
-
8th Jul 2010, 10:11 PM #7Respected Developer
pingSender.SendAsync() shouldn't be executed from a new thread since SendAsync will not block the calling thread. It puts it on the thread pool automatically.
Also for a 32 byte buffer:
byte[] buffer = new byte[32];
Finally, get rid of AutoResetEvent. I have never used it, I don't see why you should need it for a simple async ping request.
@Angeix: locks aren't needed here.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Application Error Help
By makfun in forum Technical Help Desk SupportReplies: 1Last Post: 8th Apr 2012, 06:50 PM -
Filesonic but which application
By erikadurane in forum File Host DiscussionReplies: 4Last Post: 1st Jan 2012, 04:43 AM -
[Hire Me] Freelance Programmer [Rapid Application Development (Windows Application)]
By ?RaJ? in forum Completed TransactionsReplies: 109Last Post: 31st Oct 2011, 06:42 PM -
RDA Freezing?
By EL-Warez in forum Server ManagementReplies: 1Last Post: 23rd Sep 2011, 01:40 AM -
Application Submission on ddl???????
By power07 in forum Technical Help Desk SupportReplies: 0Last Post: 1st Jan 2011, 01:02 PM
themaManager - edit and manage...
Version 4.20 released. Open older version (or...