title: How to make partly broadcast in UDP?
body: <p>I would like to send a message in UDP in broadcast except of <code>ip=123.123.123.123</code> is there any way to do so?</p>
  
  <p>how should I modify this code:</p>
  
  <pre><code>MYPORT = 8080
  
  import sys, time
  from socket import *
  
  s = socket(AF_INET, SOCK_DGRAM)
  s.bind(('', 0))
  s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1)
  
  while 1:
      data = 'python is awesome' + '\n'
      s.sendto(data, ('&lt;broadcast&gt;', MYPORT))
      time.sleep(2)
  </code></pre>