How to Broadcast to a shutdown system using java?

Posted by pirates-iiita on Stack Overflow See other posts from Stack Overflow or by pirates-iiita
Published on 2010-04-27T04:29:15Z Indexed on 2010/04/27 4:33 UTC
Read the original article Hit count: 207

Filed under:
|
|

We use socket.send(packet) function in java to send a "packet" to a given port. My problem is that i have to send a packet to a shutdown system using UDP protocol. The problem with send() function is that first it verifies whether the host IP is multicast or not. Now my local area network is of broadcast type. So i am having problem is using this function. can anyone please give me a way ?

© Stack Overflow or respective owner

Related posts about java

Related posts about socket