darknuke
Well-known member
- Joined
- Oct 3, 2003
- Messages
- 68
Code:
Dim ipaddress As Net.IPAddress
Dim localAddr As Net.IPAddress = ipaddress.Parse("127.0.0.1")
Dim port As Int32 = 13000
Dim server As New TcpListener(localAddr, port)
server.Start()
Console.Write(">>>>>>>" & Chr(10))
Dim tSocket As Net.Sockets.Socket = server.AcceptSocket
Dim timeDate As String = Now()
Console.Write("[" & timeDate & "]" & Chr(10) & " Server started (type help for more information)" & Chr(10))
The console stops as soon as I declare tSocket and doesnt do a thing. Whats wrong?
Last edited by a moderator: