$ for i in `cat ips`; do echo "VER 1 MSNP18" | nc -v $i 1863; done Connection to 64.4.46.100 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.115 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.124 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.127 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.129 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.143 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.144 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.146 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.153 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.16 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.161 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.175 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.20 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.212 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.213 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.244 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.245 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.28 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.31 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.33 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.34 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.47 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.51 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.60 1863 port [tcp/msnp] succeeded! Connection to 64.4.46.63 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.64 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.79 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.80 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.83 1863 port [tcp/msnp] succeeded! VER 1 MSNP18 Connection to 64.4.46.92 1863 port [tcp/msnp] succeeded!