Click here to Skip to main content
16,009,728 members
Home / Discussions / C#
   

C#

 
GeneralRe: CPropertySheet Pin
leppie27-Aug-02 21:42
leppie27-Aug-02 21:42 
GeneralJames, how do i upload? Pin
leppie27-Aug-02 22:00
leppie27-Aug-02 22:00 
GeneralRe: James, how do i upload? Pin
Mazdak27-Aug-02 22:23
Mazdak27-Aug-02 22:23 
GeneralRe: James, how do i upload? Pin
James T. Johnson28-Aug-02 6:06
James T. Johnson28-Aug-02 6:06 
GeneralMouse Capture Pin
Alex Korchemniy27-Aug-02 15:12
Alex Korchemniy27-Aug-02 15:12 
GeneralRe: Mouse Capture Pin
Alastair Stell27-Aug-02 17:04
Alastair Stell27-Aug-02 17:04 
GeneralError when converting to use UDP Pin
Luis Alonso Ramos27-Aug-02 14:34
Luis Alonso Ramos27-Aug-02 14:34 
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 2:15
Michael Mac28-Aug-02 2:15 
Luis Alonso Ramos wrote:
The problem is that if a change the server and client to use UDP (and datagrams) an exception is thrown in the server at the Listen call.

UPD datagrams support up to 64 KB messages without fragmentation.
If you want to send a bigger portion simply turn on it
socket.SetSocketOption( SocketOptionLevel.Udp, SocketOptionName.DontFragment, false);

Another case in which an exception could be thrown is that the default buffer is too small to receive such a big datagram. For example, in UdpClient it's set to 8KB.

socket.SetSocketOption( SocketOptionLevel.Udp, SocketOptionName.SendLowWater, 1024 * 128 /*128KB*/);
socket.SetSocketOption( SocketOptionLevel.Udp, SocketOptionName.SendBuffer, 1024 * 128 /*128KB*/);




43 68 65 65 72 73 2c
4d 69 63 68 61 65 6c
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 3:04
Luis Alonso Ramos28-Aug-02 3:04 
GeneralRe: Error when converting to use UDP Pin
Michael Mac28-Aug-02 3:51
Michael Mac28-Aug-02 3:51 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 4:14
Luis Alonso Ramos28-Aug-02 4:14 
GeneralRe: Error when converting to use UDP Pin
Russell Morris28-Aug-02 4:36
Russell Morris28-Aug-02 4:36 
GeneralRe: Error when converting to use UDP Pin
Luis Alonso Ramos28-Aug-02 4:44
Luis Alonso Ramos28-Aug-02 4:44 
GeneralQuick Question Pin
Alex Korchemniy27-Aug-02 8:57
Alex Korchemniy27-Aug-02 8:57 
GeneralRe: Quick Question Pin
leppie27-Aug-02 9:38
leppie27-Aug-02 9:38 
GeneralRe: Quick Question Pin
Andy Smith27-Aug-02 9:55
Andy Smith27-Aug-02 9:55 
GeneralRe: Quick Question Pin
leppie27-Aug-02 11:30
leppie27-Aug-02 11:30 
GeneralRe: Quick Question Pin
Christian Graus27-Aug-02 12:06
protectorChristian Graus27-Aug-02 12:06 
GeneralThanks Pin
Alex Korchemniy27-Aug-02 14:58
Alex Korchemniy27-Aug-02 14:58 
GeneralCursor Blink Rate Pin
Nnamdi Onyeyiri27-Aug-02 8:52
Nnamdi Onyeyiri27-Aug-02 8:52 
GeneralDestructor problem Pin
leppie27-Aug-02 7:55
leppie27-Aug-02 7:55 
GeneralRe: Destructor problem Pin
Michael Mac27-Aug-02 8:15
Michael Mac27-Aug-02 8:15 
GeneralRe: Destructor problem Pin
leppie27-Aug-02 9:40
leppie27-Aug-02 9:40 
GeneralRe: Destructor problem Pin
Michael Mac27-Aug-02 11:38
Michael Mac27-Aug-02 11:38 
GeneralRe: Destructor problem Pin
Michael Mac27-Aug-02 11:41
Michael Mac27-Aug-02 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.