T Tata Mapassa Active Member Licensed User Longtime User Jan 17, 2019 #1 Good evening, Do you know how to make an application communicate in real time with two users? Example, I modify a date, the second user sees the date change automatically; thank you
Good evening, Do you know how to make an application communicate in real time with two users? Example, I modify a date, the second user sees the date change automatically; thank you
walterf25 Expert Licensed User Longtime User Jan 17, 2019 #2 GOMBE said: Good evening, Do you know how to make an application communicate in real time with two users? Example, I modify a date, the second user sees the date change automatically; thank you Click to expand... There are serval ways you can go about doing this, are you looking for someone to give you the whole code, or do you already have something that you've started and meed help with? Just at the top of my head, you could probably use FireBase messaging for this? Walter Upvote 0
GOMBE said: Good evening, Do you know how to make an application communicate in real time with two users? Example, I modify a date, the second user sees the date change automatically; thank you Click to expand... There are serval ways you can go about doing this, are you looking for someone to give you the whole code, or do you already have something that you've started and meed help with? Just at the top of my head, you could probably use FireBase messaging for this? Walter
T Tata Mapassa Active Member Licensed User Longtime User Jan 17, 2019 #3 Thank you for your reply. I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Thank you Upvote 0
Thank you for your reply. I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Thank you
Computersmith64 Well-Known Member Licensed User Longtime User Jan 17, 2019 #4 It also depends on whether the 2 users are located on the same local network. If they are you could use sockets & UDP or TCP messages. You *can* use UDP/TCP over a WAN, but it becomes a lot more complicated & you'd probably need to set up a B4J server on a machine with a static WAN IP address. FCM would probably be a better way to go: FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - Colin. Upvote 0
It also depends on whether the 2 users are located on the same local network. If they are you could use sockets & UDP or TCP messages. You *can* use UDP/TCP over a WAN, but it becomes a lot more complicated & you'd probably need to set up a B4J server on a machine with a static WAN IP address. FCM would probably be a better way to go: FirebaseNotifications - Push messages / Firebase Cloud Messaging (FCM) - Colin.
walterf25 Expert Licensed User Longtime User Jan 17, 2019 #5 GOMBE said: Thank you for your reply. I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Thank you Click to expand... you can do a search in the search bar for FireBase Messaging Walter Upvote 0
GOMBE said: Thank you for your reply. I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Thank you Click to expand... you can do a search in the search bar for FireBase Messaging Walter
DonManfred Expert Licensed User Longtime User Jan 18, 2019 #6 GOMBE said: I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Click to expand... Even a taker or questioner should always be a searcher first! Use the forumsearearch for FirebaseMessaging and i´m sure you´ll quickly find the right tutorial. Last edited: Jan 18, 2019 Upvote 0
GOMBE said: I do not know Firebase messaging and I do not have any code. I'm starting from nothing. If you have code I am a taker. Click to expand... Even a taker or questioner should always be a searcher first! Use the forumsearearch for FirebaseMessaging and i´m sure you´ll quickly find the right tutorial.
Erel B4X founder Staff member Licensed User Longtime User Jan 18, 2019 #7 Do you want to do it over the internet or over a local network? Upvote 0