0
所以我有這樣的代碼
var PORT = 19777;
var MULTICAST_GROUP = "224.0.0.251";
var payload = new Buffer('hello')
var dgram = require("dgram");
var server = dgram.createSocket("udp4");
server.on(null, function (msg, rinfo) {
console.log(msg)
});
server.on("listening", function() {
var address = server.address();
console.log("server listening " +address.address + ":" + address.port);
});
server.bind(41234);
我要聽我的世界,從PE的數據包,但沒有什麼,有沒有包我收到如何偵聽數據包在節點中MCPE?
請幫幫我!
而且我在新節點一點點,所以請與我裸露