FishGuy
Sep 18th, 2006, 10:37 AM
The underlined code is causing a build error. basically it looks like it expects the ip to be in a different format.
Any help please.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Me.Connect( 82.47.247.163, "Fish paste")
End Sub
Shared Sub Connect(ByVal ip As IPAddress, ByVal message As String)
Try
' Create a TcpClient.
' Note, for this client to work you need to have a TcpServer
' connected to the same address as specified by the server, port
' combination.
Dim port As Int32 = 9100
Dim client As New TcpClient
client.Connect(ip, port)
Any help please.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Me.Connect( 82.47.247.163, "Fish paste")
End Sub
Shared Sub Connect(ByVal ip As IPAddress, ByVal message As String)
Try
' Create a TcpClient.
' Note, for this client to work you need to have a TcpServer
' connected to the same address as specified by the server, port
' combination.
Dim port As Int32 = 9100
Dim client As New TcpClient
client.Connect(ip, port)