Sign in to follow this  
Followers 0
TKausL

UDP Server - But how he Answer?

2 posts in this topic

Hi,

Sorry for my Bad english ^^

I have a Problem:

I want made a Server. But i want made the Server with UDP becouse the Speed.

A Server needs Port-Forwarding.

When i Send with the Client a String to the Server then the Server get the String becouse the Port-Forwarding is forward the Packet to the server.

But at UDP i can't answer.

I Tried to Listen at the Client at a other Port, but i dont get the string from the server. ONLY when i make a Port-Forward then the String go to the Client.

But for a OnlineGame i DONT need a Port-Forward.

Now i search a Method to get a string from server with UDP WITHOUT Port-Forward.

I Have Tried to listen at the Client with the Self port. This doesn't work.

And i have tried open a TCP-Connection and send then a string with UDP, but this also dont work.

Sorry for my bad english, i hope you understand me ^^

Share this post


Link to post
Share on other sites



Hi.

Welcome to the forum :graduated:

Post your code, pls.

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0