Drstein99
Well-known member
When i am running a thread, and i do
dim temptcp as tcpclient
start loop
If listener.Pending Then
Dim tcpTemp As TcpClient = listener.AcceptTcpClient
addToHashTable(tcptemp)
end if
end loop
and it loops through the thread constantly accepting clients, do I have to NEW a NEW tcpclient or clone the client that is returned from the ACCEPTTCPCLIENT call?
dim temptcp as tcpclient
start loop
If listener.Pending Then
Dim tcpTemp As TcpClient = listener.AcceptTcpClient
addToHashTable(tcptemp)
end if
end loop
and it loops through the thread constantly accepting clients, do I have to NEW a NEW tcpclient or clone the client that is returned from the ACCEPTTCPCLIENT call?