-
Tcp Listening?
Hey Vbforums , i have a problem
Lets say i got a listview and that listview contains ip and open port
i wan't the form to search open ports and put them in the Right lisview/Column example :
messagebox("Ip Found")
here is what i have a.t.m
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ListView1.Columns.Clear()
ListView1.Items.Clear()
ListView1.View = View.Details
ListView1.Columns.Add("Ip Addres", 180, HorizontalAlignment.Left)
ListView1.Columns.Add("Open Port", 70, HorizontalAlignment.Left)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Listview1.items.add(textbox1.text)
End Sub
Can Some1 Help me out i feel like :eek2: here
-
Re: Tcp Listening?
Hey, check out these threads about ListView, I think they might come in handy for you ;).
First Thread
Second Thread
-
Re: Tcp Listening?
thnx but know i need to know
example i open file(named support.exe)
then Client(named Client.exe )
can see my ip how to do that
i know it involves stream reading and writing
-
Re: Tcp Listening?
IP addresses dont have anything to do with stream reading and writing... unless you are talking about writing something to a network stream and sending it via the .NET sockets classes (TCPClient etc).
Im not sure exactly what you want to do, can you explain a little better?
-
Re: Tcp Listening?
Are you saying you want to create a port scanner?
-
Re: Tcp Listening?