GithubHelp home page GithubHelp logo

Comments (9)

JohannesDeml avatar JohannesDeml commented on June 8, 2024

Hello there,
I can't completely follow. What does never change? The text you receive?
Step by Step instructions for TCP:

  1. Run WindowsServer/RunTcpServer.bat (and leave it open)
    TCP Commandline Screenshot
  2. Open Scenes/NetworkExampleClient.unity and hit play.
  3. Click on Connect TCP
    grafik
  4. Enter text in the input field and click Send
    grafik
  5. Enter another text and click Send again
    grafik

You should see the two different message 10 times each (since it is repeating the text 10 times by default).

from unity-net-core-networking-sockets.

robin271 avatar robin271 commented on June 8, 2024

Vielen Dank! Now it seems a lot more understable because of the Server, but I don't know where can I install the Server from?

from unity-net-core-networking-sockets.

robin271 avatar robin271 commented on June 8, 2024

I am sorry for the inconvenience! Everything works fine now! Thank you, for replying so quickly. By the way, can you speak German?

from unity-net-core-networking-sockets.

robin271 avatar robin271 commented on June 8, 2024

Oh and I have one final question: Is there a way to see the Code from the Server side? Would be greatly appreciated since I am trying to understand all of that Server stuff!!

from unity-net-core-networking-sockets.

JohannesDeml avatar JohannesDeml commented on June 8, 2024

Oh and I have one final question: Is there a way to see the Code from the Server side? Would be greatly appreciated since I am trying to understand all of that Server stuff!!

Sure, the server code comes from https://github.com/chronoxor/NetCoreServer Take a look at the performance folder. In case of TCP it is just the compiled version of TcpEchoServer.

By the way, can you speak German?

I do speak German, but I would like o stick to English so others can follow the conversation more easily if they have the same question :)

from unity-net-core-networking-sockets.

robin271 avatar robin271 commented on June 8, 2024

Hey I know the following might not fit to the topic perfectly but do you know how do the same server client connection with another wifi? I don't understand at all how I can get another IP adress

from unity-net-core-networking-sockets.

JohannesDeml avatar JohannesDeml commented on June 8, 2024

Hi again,

well you just need to find out the publicly available ip address of your server.

  • If you get a VPS or set up a server at any online webserver service you will get your own ip, so that is quite straight forward.
  • If that server is in the same local network, you need to set to local ip as your target ip (eg. 10.0.0.x or 192.168.0.x)
  • If your server is in a different wifi than yours you need to somehow expose that IP to be reachable from outside. There are some services that can do that, but I never tried that.

from unity-net-core-networking-sockets.

robin271 avatar robin271 commented on June 8, 2024

That should do it. I will probably use a google cloud as my server. And I got one last question: Where did you all of your knowledge so that I can also understand how I all of it works. I tried looking up matching books but I couldn't really find any. Thank you in advance!

from unity-net-core-networking-sockets.

JohannesDeml avatar JohannesDeml commented on June 8, 2024

I would say most of my knowledge comes from University and just learning by doing. Sadly, I don't have a specific book I can point you to. I recommend doing small projects and setting small goals to get to where you want to get one step at a time.

from unity-net-core-networking-sockets.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.