PowerTCP Telnet for .NET CF
ReceiveBufferSize Property
See Also  Send comments on this topic.
Dart.Common Namespace > SocketOption Class : ReceiveBufferSize Property




Gets or sets a value that specifies the size of the system receive buffer.

Syntax

Visual Basic (Declaration) 
Public Property ReceiveBufferSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As SocketOption
Dim value As Integer
 
instance.ReceiveBufferSize = value
 
value = instance.ReceiveBufferSize
C# 
public int ReceiveBufferSize {get; set;}
Managed Extensions for C++ 
public: __property int get_ReceiveBufferSize();
public: __property void set_ReceiveBufferSize( 
   int value
);
C++/CLI 
public:
property int ReceiveBufferSize {
   int get();
   void set (    int value);
}

Property Value

An integer with a default value of 8192.

Remarks

Increasing the buffer size may help performance when transferring large amounts of data, or when high bandwidth, high latency connections (such as a satellite broadband provider) are used.

The value cannot be changed on CF devices.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.