Direct broadcast fix

Fix: use const SOCK_DGRAM instead of string 'SOCK_DGRAM'