listener = New Net.Sockets.TcpListener("127.0.0.1", 32111)
Value of type 'String' cannot be converted to 'System.Net.IPAddress'.
:(
Printable View
listener = New Net.Sockets.TcpListener("127.0.0.1", 32111)
Value of type 'String' cannot be converted to 'System.Net.IPAddress'.
:(
try this:
vb Code:
Dim ipAddr As Net.IPAddress = Net.IPAddress.Parse("127.0.0.1") listener = New Net.Sockets.TcpListener(ipAddr, 32111)