What are the devices on the network? Generally using ping 192.168.1.255 -t (windows) or ping 192.168.1.255 -b (linux) should work unless ping is surpressed by router/switch/firewall.

And I'm not sure what you mean by broadcasting a ping or a TCP port. No TCP port can be broadcast so to speak. If you mean broadcasting a ping to a TCP port, IIRC, ICMP is a protocol on it's own and doesn't go to a specific port.