Send modem message to the same computer it was sent from?

Started by KingJellyfishII, Dec 25, 2019, 03:19 PM

Previous topic - Next topic

KingJellyfishII

I'm making the internet and I need something akin to 127.0.0.1. Whenever I try to send a modem message to itself it always times out. Any way this can be done, or is it not possible due to the way CC was coded? I have the sending program in one tab of the multishell and the recieving program in another tab so they should be running concurrently.

Wojbie

If you took a peek at rednet protocol if you attempt to send message to yourself it skips sending part and just queues receipt event by itself if i remember right. That would solve the issue you are having.

KingJellyfishII

Quote from: Wojbie on Dec 25, 2019, 03:44 PMIf you took a peek at rednet protocol if you attempt to send message to yourself it skips sending part and just queues receipt event by itself if i remember right. That would solve the issue you are having.

I'm not using the rednet protocol but I have written my own protocol (I call it ip but it's nothing like the real ip ofc) so I'll see if I can implement that. Thanks for the info