问题
i am trying to run netcat to programatically transfer a file using vb 2010 express. I am getting this error in console window :
nc: forward host lookup failed:h_errno 11004: NO_DATA
When i try to run the same code through batch file it works:
nc -l -p 3334 < some.exe
I have given a simple button and tried with the following codes:
'Dim p As New ProcessStartInfo
'p.FileName = "Cmd.exe"
'p.Arguments = "nc -l -p 3334 < RADTools.exe"
'Process.Start(p)
Process.Start("nc.exe", "nc -l -p 3334 < RADTools.exe")
please help
来源:https://stackoverflow.com/questions/28697506/running-netcat-through-vb-forms