Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Sfml2.0 networking tutorial?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 BaneTrapper   Members   -  Reputation: 1231

Like
0Likes
Like

Posted 28 April 2013 - 05:31 AM

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.


Current projects:
The Wanderer, 2d turn based rpg style game

www.gamedev.net/topic/641117-check-up-the-wanderer/


Sponsor:

#2 lightxbulb   Members   -  Reputation: 900

Like
0Likes
Like

Posted 28 April 2013 - 08:34 AM

Are you looking for this? http://www.sfml-dev.org/tutorials/1.2/network-sockets.php

If you just want theory about networking then:

http://en.wikipedia.org/wiki/Computer_network_programming

http://en.wikipedia.org/wiki/Local_area_network


Edited by lightxbulb, 28 April 2013 - 08:36 AM.


#3 Servant of the Lord   Crossbones+   -  Reputation: 20377

Like
4Likes
Like

Posted 28 April 2013 - 10:09 AM

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.


It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#4 Cornstalks   Crossbones+   -  Reputation: 6991

Like
2Likes
Like

Posted 28 April 2013 - 10:37 AM

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.


[ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

#5 Serapth   Crossbones+   -  Reputation: 5594

Like
2Likes
Like

Posted 28 April 2013 - 11:39 AM

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

#6 BaneTrapper   Members   -  Reputation: 1231

Like
0Likes
Like

Posted 28 April 2013 - 01:58 PM

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, 28 April 2013 - 01:58 PM.

Current projects:
The Wanderer, 2d turn based rpg style game

www.gamedev.net/topic/641117-check-up-the-wanderer/





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS