Direct broadcast fix

Fix: use const SOCK_DGRAM instead of string 'SOCK_DGRAM'
Merge branch 'direct-boadcast-fix'