July 5, 2017, 11:08pm
Client server application who work at setup ports.
If i computers have two different ip address it work’s
If i have:
Router can redirect data to one computer from ports
But skype call between local machines.
Session Traversal Utilities for NAT (STUN) is a standardized set of methods, including a network protocol, for traversal of network address translator (NAT) gateways in applications of real-time voice, video, messaging, and other interactive communications.
STUN is a tool used by other protocols, such as Interactive Connectivity Establishment (ICE), the Session Initiation Protocol (SIP), and WebRTC. It provides a tool for hosts to discover the presence of a network address translator, and to dis...
How i can it make?
July 5, 2017, 11:16pm
There is a server with open ports
If on the client to open ports and to knock that all works
If the client has a router, then you need to open the ports on the router (how to do it automatically?)
If the computers are on the same local network and connected using a router, then the router can redirect only to one computer
I did not understand everything but you need to open your ports manually. Have a look at the router configuration.
Or are you searching for UPNP to set up your client and server automatically? I can also not fully understand your question…
Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices, such as personal computers, printers, Internet gateways, Wi-Fi access points and mobile devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment. UPnP is intended primarily for residential networks without enterprise-class devices.
The UPnP protocols were promoted by the UPnP Forum, a computer ind...
July 7, 2017, 12:56am
This network lib for router worvarding (at router) or for local machine?
July 7, 2017, 4:44am
What if you would explain to us what you actually want???!!!
Does this even have something to do with jMonkeyEngine?
July 8, 2017, 7:57am
I make online game:
I write client server framework for multiplayer
And now make game play + networking (multiplayer)
But jMonkeyEngine already has a client-server framework built-in. I dont think anyone understands what you are asking on the forum fore?
July 9, 2017, 4:25am
But it’s java - java programming.
I I’ve been programming for 10 years +
I guess you are in the wrong forum. This forum is JME related. Furthermore without seeing code nor exception nor anything beside a very hard to understand english nobody will be able to point you in any direction.
But maybe a sample like sim-eth or sim-eth-es may help to get started with network based game?
and the links you send gives me the impression that you should ask in some android forums?
July 9, 2017, 11:32am
This question is essentially stupid. This is tantamount to asking how to open a closed port from an Internet provider. Using JME3.
If I understand his post correctly, he’s trying to figure out how to correctly do UDP networking in the presence of a NAT. It’s not exactly jME specific, but it’s relevant for peer-to-peer multiplayer game authors. It’s not an inherently stupid question.
July 10, 2017, 6:17am
Game contains not only 3d part:
I use weupnp - open ports and discover on linux
July 10, 2017, 6:33am
As far as I know, the router works according to the rules set by using the administrative special interface. It also lists the available ports. And it would be strange if these rules were changed automatically at the request of PC users.
July 10, 2017, 9:29am
Universal Plug and Play (UPnP) — набор сетевых протоколов. Цель UPnP — универсальная автоматическая настройка сетевых устройств, как дома, так и в корпоративной среде. Состоит из набора сопутствующих протоколов, построенных на открытых интернет-стандартах.
UPnP (Universal Plug and Play) — это архитектура многоуровневых соединений между персональными компьютерами и интеллектуальными устройствами, установленными, например, дома. UPnP строится на основе стандартов и технологий интернета, таких как ...
search router and open ports
July 10, 2017, 11:33am
It’s amazing to use a different protocol. Instead of setting up dynamic port forwarding in the router. It’s only you who thought very well about this in terms of reliability …
Add: And what if the router does not support UPnP?
July 10, 2017, 12:01pm
Player community say: “I don’t know how to make forwarding and not going to do it”
Make like skype or torrent. (use unpn)
Not all users understand networks and programming.
July 11, 2017, 11:44am
if router not support - use default port and make popup windows -add port to router…
but all new pouters support…