Discuss this help topic in MsgConnect Forum

Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 



InetTransport.IncomingBufferSize

InetTransport     See also    


Specifies the size of incoming data buffer.

Declaration

[C++]
    void setIncomingBufferSize(unsigned long Value);
    unsigned long getIncomingBufferSize(void);

[Pascal]
    property IncomingBufferSize : longint;

[VB6]
    Property IMCXInetTransport3.IncomingBufferSize As Long

[ActiveX]
    HRESULT _stdcall IMCInetTransport3.IncomingBufferSize([in] long Value );
    HRESULT _stdcall IMCInetTransport3.IncomingBufferSize([out, retval] long * Value );

[C#]
    public int IncomingBufferSize;

[VB.NET]
    Public Property IncomingBufferSize As Integer

[Java]
    public void setIncomingBufferSize(long value);
    public long getIncomingBufferSize();

[Java ME]
    public void setIncomingBufferSize(long value);
    public long getIncomingBufferSize();

[DLL]
    void __stdcall MCInetTransportSetIncomingBufferSize(HMCInetTransport h, unsigned long value);
    unsigned long __stdcall MCInetTransportGetIncomingBufferSize(HMCInetTransport h);

Parameters

  • h - handle to the object that was returned by Create method

Description

    This property specifies the size of the memory buffer, used for incoming data. Minimum size is 1024 bytes, default is 8192 bytes.
    Buffers are allocated statically for each transport thread so if you expect the large number of connections, don't set too large values to this property.

See also:     OutgoingBufferSize    

Discuss this help topic in MsgConnect Forum