su questa pagina c'ero arrivato e ho sbaglio io ho c'è qualcosa che non torna nel codice.
questo non capisco come fà ad essere importato?
codice:
Imports System.Runtime.Remoting.Channels.Http
è questo da dove viene fuori?
codice:
our object is p2pfirewall.tunnel
il codice dovrebbe essere
codice:
Imports System.Runtime.Remoting
Imports System.Runtime.Remoting.Channels
Imports System.Runtime.Remoting.Channels.Http
Dim Tunnel As p2pfirewall.tunnel
Dim peerName As String = ""
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) peerName = "PEER#" & (New Random).NextDouble()
tbName.Text += peerName
' Change http://localhost to the IP of the firewall tunnelling proxy.
Tunnel = CType(Activator.GetObject( _
(New p2pfirewall.tunnel).GetType(), _
"http://localhost:8085/Firewall_Tunnel"), _
p2pfirewall.tunnel)
If Tunnel Is Nothing Then MessageBox.Show("cannot locate server")
End Sub