with winsock1 .remotehost = "192.192.192.11" .remoteport = 1066 .localport = 0 .connect for i = 1 to 10 endfor if .state = 7 then .senddata "aaa" endif for i = 1 to 10 endfor .close endwiththe error happen when i call this many times... but not everytime