I got a problem...
check this code out:

Private Sub wTimer1_Timer()
If vänta.Enabled = True Then Exit Sub Else vänta.Enabled = True
If Winsock1.state = 7 Then Winsock1.SendData w1(1)
If Winsock2.state = 7 Then Winsock2.SendData w1(1)
If Winsock3.state = 7 Then Winsock3.SendData w1(1)
If Winsock4.state = 7 Then Winsock4.SendData w1(1)
If Winsock5.state = 7 Then Winsock5.SendData w1(1)
If Winsock6.state = 7 Then Winsock6.SendData w1(1)
If Winsock7.state = 7 Then Winsock7.SendData w1(1)
If Winsock8.state = 7 Then Winsock8.SendData w1(1)
If Winsock9.state = 7 Then Winsock9.SendData w1(1)
If Winsock10.state = 7 Then Winsock10.SendData w1(1)

wTimer1.Enabled = False
End Sub

And the only thing that happends is that winsock10 gets the data why?
If i delete "If Winsock10.state = 7 Then Winsock10.SendData w1(1)"
then winsock9 is the only datareciver..



[This message has been edited by johan1 (edited 01-10-2000).]