ESRI.ArcGIS.ADF.Connection.Core
TCPConnection Constructor(String,Int32)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.IMS Namespace > TCPConnection Class > TCPConnection Constructor : TCPConnection Constructor(String,Int32)




host
Name of machine hosting the ArcIMS App Server.
port
Port at which the ArcIMS App Server is hosted.
Constructs a TCPConnection object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal host As String, _
   ByVal port As Integer _
)
Visual Basic (Usage)Copy Code
Dim host As String
Dim port As Integer
 
Dim instance As New TCPConnection(host, port)
C# 
public TCPConnection( 
   string host,
   int port
)

Parameters

host
Name of machine hosting the ArcIMS App Server.
port
Port at which the ArcIMS App Server is hosted.

Exceptions

ExceptionDescription
ESRI.ArcGIS.ADF.Connection.IMS.TCPConnectionExceptionConnect has failed. The InnerException property gives access to the exception that triggered this one.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.