EldoS
MsgConnect home / Documentation / SocketTransport.ConnectionTimeout property
Navigation
Web site
Support
Table Of Contents

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


InetTransport.ConnectionTimeout

InetTransport     See also    


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

Declaration

[C++]
    void setConnectionTimeout(unsigned long Value);
    unsigned long getConnectionTimeout();

[Pascal]
    property ConnectionTimeout : cardinal;

[VB6]
    Property AttempsInterval As Long

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

[C#]
    public long ConnectionTimeout;

[VB.NET]
    Public Property ConnectionTimeout As Integer

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

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

[Palm]
    not available;

[DLL]
    void __stdcall MCInetTransportSetConnectionTimeout(HMCInetTransport h, unsigned long value);
    unsigned long __stdcall MCInetTransportGetConnectionTimeout(HMCInetTransport h);

Parameters

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

Description

    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.

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

See also:     AttemptsToConnect     TransportMode

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation