Click here to Skip to main content
15,868,016 members
Articles / Programming Languages / C#

Issues with UdpClient.Receive

Rate me:
Please Sign up or sign in to vote.
5.00/5 (8 votes)
9 Mar 20023 min read 144.4K   1K   33  
Strange errors I experienced which led me to a major bug in the UdpClient implementation
When more than one UDP packet is enqueued on a socket, UdpClient.Receive will receive packets that are not of the expected size.

Views

Daily Counts

Downloads

Weekly Counts


Written By
Software Developer
Germany Germany
I'm developing for fun since 1985, starting with UCSD Pascal on some old machines (no hard disk, but four floppies!), then moving quickly on to assembler on the famous C64 and Amiga. During university I started professional development for Windows/Unix/Linux, using a myriad of languages (Pi, Assembler (6502, 68000, 80386/486), Cobol, Modula2, Prolog, OML, C, C++, C#, Java, Scala, Groovy, Clojure, VB, Eiffel, Delphi, Perl, Pascal, Javascript). Currently my favorite languages are Clojure, Ruby and modern Javascript.

Comments and Discussions