• Advertisement
Sign in to follow this  

Sfml2.0 networking tutorial?

This topic is 1731 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ohmy.png

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!

Edited by BaneTrapper

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement