L
Lespaul36
I need a form to load on connection to a soket, but it hits the show and
does nothing..doesn't crash, just hangs.
Here is the code for the TCPListerner that I have set up.
Private Sub DoListen()
SocketChatS = New TcpListener(IPAddress.Any, MYPORT)
SocketChatS.Start()
Do
Dim x As New Client(SocketChatS.AcceptTcpClient)
Dim pobjForm As New frmServerChatUI
pobjForm.Client = x
pobjForm.Show()
mcolClients.Add(x.ID, x)
Loop Until False
End Sub
does nothing..doesn't crash, just hangs.
Here is the code for the TCPListerner that I have set up.
Private Sub DoListen()
SocketChatS = New TcpListener(IPAddress.Any, MYPORT)
SocketChatS.Start()
Do
Dim x As New Client(SocketChatS.AcceptTcpClient)
Dim pobjForm As New frmServerChatUI
pobjForm.Client = x
pobjForm.Show()
mcolClients.Add(x.ID, x)
Loop Until False
End Sub