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
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also