Hello.
I am looking for a generalizationand explanation not code example.
So, what i actually need to do and how to communicate between computers and how does that work.
Hello.
I am looking for a generalizationand explanation not code example.
So, what i actually need to do and how to communicate between computers and how does that work.
Are you looking for this? http://www.sfml-dev.org/tutorials/1.2/network-sockets.php
If you just want theory about networking then:
Beej's network tutorial is the most well-known and "classical" tutorial for networking. It's old (>25 years) but our network protocols haven't changed.
Someone told me that the latest SFML 2 version has examples and documentation, just not yet up on the website. If you download from the repository, and build with CMake, you can have it build the documentation and examples as well.
The SFML tutorials don't really explain how networking works in detail. They mostly focus on how to use SFML to do networking (i.e. the code). The SFML 1.6 networking tutorials can be useful, and it's usually pretty easy to convert 1.6 code to SFML 2.0.
But if you're wondering how sockets and all that stuff, +1 for Beej's network tutorial.
Someone told me that the latest SFML 2 version has examples and documentation, just not yet up on the website. If you download from the repository, and build with CMake, you can have it build the documentation and examples as well.
The tutorials are done but not all uploaded to the website, but they're not in the code repository either. The documentation is up to date on the website. It does have examples, though, which could be useful.
FWIW, the new SFML 2 logo is going to be chosen today, and then integrated into the website for the official SFML 2 release in a few days. So the 2.0 tutorials will be up really soon.
Beej's network tutorial is the most well-known and "classical" tutorial for networking. It's old (>25 years) but our network protocols haven't changed.
Someone told me that the latest SFML 2 version has examples and documentation, just not yet up on the website. If you download from the repository, and build with CMake, you can have it build the documentation and examples as well.
That is what i had in mind when i made the post, good read!
Also thank you!
The SFML tutorials don't really explain how networking works in detail. They mostly focus on how to use SFML to do networking (i.e. the code). The SFML 1.6 networking tutorials can be useful, and it's usually pretty easy to convert 1.6 code to SFML 2.0.
But if you're wondering how sockets and all that stuff, +1 for Beej's network tutorial.
Someone told me that the latest SFML 2 version has examples and documentation, just not yet up on the website. If you download from the repository, and build with CMake, you can have it build the documentation and examples as well.
The tutorials are done but not all uploaded to the website, but they're not in the code repository either. The documentation is up to date on the website. It does have examples, though, which could be useful.
FWIW, the new SFML 2 logo is going to be chosen today, and then integrated into the website for the official SFML 2 release in a few days. So the 2.0 tutorials will be up really soon.
Good to hear that, i was not up to date with that info
I wish i could go few years back in time and slap my self really hard...
Back then i had so much free time and all i did was lazy around. Now i got no time and i have all the will.
I made a tutorial series on networking SFML with a server written in Node. It shows how to implement a simple high score system.
http://www.gamefromscratch.com/post/2012/01/31/Network-programming-with-SFML-and-Nodejs-Part-1.aspx
No shame in self promoting ^^
I will check that up for sure!