- Jun 6, 2020
- 11,559
- 4,422
Hi,
I am trying to work out how to send a UDP message which contains binary 5 bytes and get the reply.
The device I am sending the message to is on the local network.
I have been told:
Use UDP to send the binary 5 bytes 0x007FFFFFFF to destination port 12345. The 7FFFFFFF is a mask for what you want returned.
I am currently trying to get it working in B4J for testing, but eventually I am planning to do this in B4A/B4i as well.
I have tired the following, but I am guessing I am doing it wrong as it doesn't return anything.
Anyone know how to do this, and where I have gone wrong ?
B4X:
I am trying to work out how to send a UDP message which contains binary 5 bytes and get the reply.
The device I am sending the message to is on the local network.
I have been told:
Use UDP to send the binary 5 bytes 0x007FFFFFFF to destination port 12345. The 7FFFFFFF is a mask for what you want returned.
I am currently trying to get it working in B4J for testing, but eventually I am planning to do this in B4A/B4i as well.
I have tired the following, but I am guessing I am doing it wrong as it doesn't return anything.
Anyone know how to do this, and where I have gone wrong ?
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید