PDA

Click to See Complete Forum and Search --> : someone explain what happens during this?


karthic
Mar 27th, 2002, 08:45 PM
Do
x = New TCPConnection(mobjListener.AcceptTcpClient)
AddHandler x.DataReceived, AddressOf OnDataReceived
Console.WriteLine("New Connection Received")
AddHandler x.Connected, AddressOf Connection
' Add class reference to a hashtable for later reference. Make the
' requestID the unique key.
colClients.Add(x.requestID, x)
Loop Until False


what is false? why does the loop ever end?
thanks

Cander
Mar 28th, 2002, 08:40 AM
I am not sure why I wrote Loop Until False...I can tell that was my code for the TCp thing...but it is just an infinite loop that will keep running until you exit the program...I think Loop Until False might be a better way thought then just Loop as it will catch the program ending.