TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ninja
NA
1
0
Udp sockets
May 15 2008 3:19 PM
I need to send a large number of UDP pakets ~ 8000/s at 540bytes(header included). The problem is only capures 197 frames (the buffer size) and then my computer almost freezes. Any ideeas what's to do?
Here is the source code internal void OnReceive(IAsyncResult ar) { serverSocket.EndReceive(ar); frames++ serverSocket.BeginReceive(byteData, 0, 540, SocketFlags.None, new AsyncCallback(OnReceive), null); } why the hell can't i insert a linefeed>
Reply
Answers (
1
)
I need help creating a search screen
Convert.ToByte = too slow