Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Roaming Gamer : I have problems with p2p
Started by bulcolimpex Jul 21 2019 02:58 AM

2 replies to this topic
p2p network
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

bulcolimpex

[GLOBAL: userInfoPane.html]
bulcolimpex
  • Observer

  • 13 posts
  • Corona SDK

Hello Roaming Gamer,
 
I'm developing an application and I need to transfer data from one device to another (in this case, from a 
phone to a tablet, both devices with Android).
 
Reading in the forum I came to your posts and decided to review your peer2Peer application.
 
When I start peer2Peer on two Corona simulators, it's good to communicate between the two simulators
(one simulator works as a server and the other as a client), there are no problems.
 
I decided to install peer2Peer on two real devices (tablet and phone) and see real data exchange, but 
unfortunately nothing happened, the devices did not brighten information (messages).
 
Maybe I made a mistake, but I did not change anything in the software.
 
Please advise how I can use peer2Peer to exchange data (messages) between two real devices.
 
PD. When working with the Corona Simulator, I started the simulator twice, but peer2Peer started from two 
different folders (I just copied the peer2Peer files into two different folders).


[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,606 posts
  • Corona SDK

I'm afraid I'm no longer active here nor up-to-date on the state of networking.

 

You should post back and include links to the items you referenced above and hopefully someone else in the forums will have up-to-date info or advice.

 

Tip: When referring to a post or resource always include a link to it.  I've made thousands of posts here and don't recall the one(s) you're referring to.  I imagine this same problem occurs for other readers of posts.



[TOPIC: post.html]
#3

bulcolimpex

[GLOBAL: userInfoPane.html]
bulcolimpex
  • Observer

  • 13 posts
  • Corona SDK

Excuse me, here is the links :

 

https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2018/11/peer2Peer

 

https://forums.coronalabs.com/topic/74280-simple-socket-server-for-local-multiplayer-game/




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: p2p, network