Ive buillt an app which establishes 2 winsock connections simultaneously. The IP for both sockets is the same, but ports are different.
I receive a data stream on both the IPs, which I then parse and display in my application. The data coming in is received by Databyarrival method. It works fine for the most part. However, there are certain instances, where one of the broadcasts freezes up, while the other is still running.Code:With Winsock1 .RemoteHost = "255.255.255.255" .RemotePort = 1002 .Bind 1001 End With With Winsock2 .RemoteHost = "255.255.255.255" .RemotePort = 1004 .Bind 1003 End With
Any idea why one broadcast may freeze up randomly, and what can be done to avoid this?




Reply With Quote