How to use the SOCK_DGRAM function from bindings

Find comprehensive JavaScript bindings.SOCK_DGRAM code examples handpicked from public code repositorys.

0
1
2
3
4
5
6
7
8
9
10
11
var events = require('events');
var dgram = require('dgram');
var util = require('util');
var binding = require('bindings')('unix_dgram.node');


var SOCK_DGRAM  = binding.SOCK_DGRAM;
var AF_UNIX     = binding.AF_UNIX;


var socket  = binding.socket || unsupported;
var bind    = binding.bind || unsupported;
fork icon32
star icon74
watch icon0

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)