UPNP/NAT Traversal Library for C#
up vote
-1
down vote
favorite
I'm writing a client-server game in C# where one person fires up the server part of the program and the others fire up the client part and connect to the server using his IP address and they all play in peace. It works fine but i also want users from other networks to be able to connect and not just from the same subnet. I don't want to use manual port forwarding (in the router's settings) because it's not always accessible or hole punching because then the host needs to know the addresses of the clients, so i started looking for a UPNP or a NAT Traversal library where the server simply sends a port forwarding request to the router and that's it but none of the ones i found worked without either crashing or just doing nothing.
Does anybody know a good library or a different solution to this problem?
c# client-server portforwarding upnp nat-traversal
New contributor
add a comment |
up vote
-1
down vote
favorite
I'm writing a client-server game in C# where one person fires up the server part of the program and the others fire up the client part and connect to the server using his IP address and they all play in peace. It works fine but i also want users from other networks to be able to connect and not just from the same subnet. I don't want to use manual port forwarding (in the router's settings) because it's not always accessible or hole punching because then the host needs to know the addresses of the clients, so i started looking for a UPNP or a NAT Traversal library where the server simply sends a port forwarding request to the router and that's it but none of the ones i found worked without either crashing or just doing nothing.
Does anybody know a good library or a different solution to this problem?
c# client-server portforwarding upnp nat-traversal
New contributor
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I'm writing a client-server game in C# where one person fires up the server part of the program and the others fire up the client part and connect to the server using his IP address and they all play in peace. It works fine but i also want users from other networks to be able to connect and not just from the same subnet. I don't want to use manual port forwarding (in the router's settings) because it's not always accessible or hole punching because then the host needs to know the addresses of the clients, so i started looking for a UPNP or a NAT Traversal library where the server simply sends a port forwarding request to the router and that's it but none of the ones i found worked without either crashing or just doing nothing.
Does anybody know a good library or a different solution to this problem?
c# client-server portforwarding upnp nat-traversal
New contributor
I'm writing a client-server game in C# where one person fires up the server part of the program and the others fire up the client part and connect to the server using his IP address and they all play in peace. It works fine but i also want users from other networks to be able to connect and not just from the same subnet. I don't want to use manual port forwarding (in the router's settings) because it's not always accessible or hole punching because then the host needs to know the addresses of the clients, so i started looking for a UPNP or a NAT Traversal library where the server simply sends a port forwarding request to the router and that's it but none of the ones i found worked without either crashing or just doing nothing.
Does anybody know a good library or a different solution to this problem?
c# client-server portforwarding upnp nat-traversal
c# client-server portforwarding upnp nat-traversal
New contributor
New contributor
New contributor
asked Nov 10 at 12:45
Shalev Balasiano
1
1
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Shalev Balasiano is a new contributor. Be nice, and check out our Code of Conduct.
Shalev Balasiano is a new contributor. Be nice, and check out our Code of Conduct.
Shalev Balasiano is a new contributor. Be nice, and check out our Code of Conduct.
Shalev Balasiano is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239093%2fupnp-nat-traversal-library-for-c-sharp%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password