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


InetTransport     See also    

Specifies the time to wait for TCP connection to be established.


    void setConnectionTimeout(unsigned long Value);
    unsigned long getConnectionTimeout();

    property ConnectionTimeout : cardinal;

    Property AttempsInterval As Long

    HRESULT _stdcall AttempsInterval([in] unsigned long Value );
    HRESULT _stdcall AttempsInterval([out, retval] unsigned long * Value );

    public long ConnectionTimeout;

    Public Property ConnectionTimeout As Integer

    public void setConnectionTimeout(long value);
    public long getConnectionTimeout();

[Java ME]
    public void setConnectionTimeout(long value);
    public long getConnectionTimeout();

    void __stdcall IPCInetTransportSetConnectionTimeout(HIPCInetTransport h, unsigned long value);
    unsigned long __stdcall IPCInetTransportGetConnectionTimeout(HIPCInetTransport h);


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


    This property specifies the time to wait until connection is established. If timeout elapses without successful connection, the attempt fails. The value for ConnectionTimeout is specified in milliseconds.

    Value of 0 (zero) means, that no application-defined timeout is used, and connection attempt will fail when underlying TCP stack decides that timeout has elapsed.

    Note: This property is only active when InetTransport is in peer-to-peer and client transport modes.