i thought about it, and without help from my other thread, mainly becouse nobody knows what the poblem is, im going to give my beta program out, and if people want to help, and have a disassembler, you can have a look at the code. (besides what i'll post)
what this program is ment to be doing is scanning over all the ip connections to the set IP address, and if it matchs the port enterd, saves it and displays it in the console.
Code:
'my.settings.portno = console.readline() -------from main module
IPport = client.Client.RemoteEndPoint.ToString
'Splits the ip and port to two different instances
ipport.Split(":"c)
Dim port As String = ipport(1)
Dim ip As String = ipport(0)
ipname = ipport(0)
check = 0
If port = My.Settings.portno Then
Console.WriteLine("Connection Established with : " & ip)
Else
Console.WriteLine(current)
Console.WriteLine(port & "---" & ip)
Console.WriteLine("Rand = " & ip & ";" & port)
End If
the problem is the hole receiving part where i need to split a string.
any help would be of use.
and if you want to refine code, be my guest....im sort of new to this peticular kind of coding....sockets and such...
virus scan
(my other 2 scan sites are ether overloaded atm or having a server crash...)