nnpa
July 5, 2017, 11:08pm
1
I have:
Client server application who work at setup ports.
If i computers have two different ip address it work’s
If i have:
Router
2 computers
one net
Router can redirect data to one computer from ports
But skype call between local machines.
I search
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?
1 Like
nnpa
July 5, 2017, 11:16pm
2
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
1 Like
I did not understand everything but you need to open your ports manually. Have a look at the router configuration.
2 Likes
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...
1 Like
nnpa
July 7, 2017, 12:56am
5
This network lib for router worvarding (at router) or for local machine?
find this
1 Like
nnpa
July 7, 2017, 4:44am
6
1 Like
What if you would explain to us what you actually want???!!!
Does this even have something to do with jMonkeyEngine?
1 Like
nnpa
July 8, 2017, 7:57am
8
Yesssss
I make online game:
I write client server framework for multiplayer
https://jsocket-java.blogspot.ru/
And now make game play + networking (multiplayer)
1 Like
nnpa:
Yesssss
But jMonkeyEngine already has a client-server framework built-in. I dont think anyone understands what you are asking on the forum fore?
1 Like
nnpa
July 9, 2017, 4:25am
10
But it’s java - java programming.
I I’ve been programming for 10 years +
c/c++ linux admin php/yii css html javascript/jquery+libst git,mysql,postgres,nosql, patterns, architect,3d,etc,…
http://cppjavabahslinux.blogspot.ru/
1 Like
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?
1 Like
AdiDOS
July 9, 2017, 11:32am
12
This question is essentially stupid. This is tantamount to asking how to open a closed port from an Internet provider. Using JME3.
1 Like
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.
2 Likes
nnpa
July 10, 2017, 6:17am
14
Game contains not only 3d part:
net
3d (blender)
database
jmonkey
website…
I use weupnp - open ports and discover on linux
1 Like
AdiDOS
July 10, 2017, 6:33am
15
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.
1 Like
nnpa
July 10, 2017, 9:29am
17
Universal Plug and Play (UPnP) — набор сетевых протоколов. Цель UPnP — универсальная автоматическая настройка сетевых устройств, как дома, так и в корпоративной среде. Состоит из набора сопутствующих протоколов, построенных на открытых интернет-стандартах.
UPnP (Universal Plug and Play) — это архитектура многоуровневых соединений между персональными компьютерами и интеллектуальными устройствами, установленными, например, дома. UPnP строится на основе стандартов и технологий интернета, таких как ...
search router and open ports
1 Like
AdiDOS
July 10, 2017, 11:33am
18
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?
1 Like
nnpa
July 10, 2017, 12:01pm
19
Player community say: “I don’t know how to make forwarding and not going to do it”
Make like skype or torrent. (use unpn)
Install
Play
Not all users understand networks and programming.
example:
1 Like
nnpa
July 11, 2017, 11:44am
20
if router not support - use default port and make popup windows -add port to router…
but all new pouters support…
1 Like