I tried to send a message with: component.modem.send("2ef", 123, "hallo") and the other Computer didn´t receive a modem_message.
How I tried it:
-Receiving Computer in the lua interface:
component.modem.open(123)
=event.pull("modem_message")
-Sending Computer in the lua interface:
component.modem.open(123)
component.modem.send("2ef", 123, "hallo")
-Then is saw the switch blinking, but on the of the Receiving Computer didn´t appear a modem_message.
For the backround:
I tried it with networkcards and Wireless networkcards and it didn´t work. It worked with: component.modem.broadcast(123, "hallo") and it also worked with linked cards to send, but there is no adress required.
So i think it has something to do with the Adress. So I tried it with the adress of the receiving Computer´s Network card, the network card of the sending computer and the adress of the computer. Even the full adress of the receiving network card didn´t work ( "2efdd118-8039-4bcc-a86f-12e80010a1b7")
So my question is what do i wrong? What could i try else? Or what do i else have to put in the adress slot for sending?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Dear OpenComputer Forum Users,
I tried to send a message with: component.modem.send("2ef", 123, "hallo") and the other Computer didn´t receive a modem_message.
How I tried it:
-Receiving Computer in the lua interface:
component.modem.open(123)
=event.pull("modem_message")
-Sending Computer in the lua interface:
component.modem.open(123)
component.modem.send("2ef", 123, "hallo")
-Then is saw the switch blinking, but on the of the Receiving Computer didn´t appear a modem_message.
For the backround:
I tried it with networkcards and Wireless networkcards and it didn´t work. It worked with: component.modem.broadcast(123, "hallo") and it also worked with linked cards to send, but there is no adress required.
So i think it has something to do with the Adress. So I tried it with the adress of the receiving Computer´s Network card, the network card of the sending computer and the adress of the computer. Even the full adress of the receiving network card didn´t work ( "2efdd118-8039-4bcc-a86f-12e80010a1b7")
So my question is what do i wrong? What could i try else? Or what do i else have to put in the adress slot for sending?
Setup:
Thank you for any help!
Link to post
Share on other sites