Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Network
»
Enet and SFML Networking
Print
Pages: [
1
]
Author
Topic: Enet and SFML Networking (Read 3233 times)
0 Members and 1 Guest are viewing this topic.
Grimshaw
Hero Member
Posts: 631
Nephilim SDK
Enet and SFML Networking
«
on:
January 15, 2012, 12:49:19 pm »
Greetings.
I use Enet for networking right now, and i feel like continue using it, though, i seem to like how the sf::Packet is built.
I wonder if i can use the SFML data packets along with enet ? Anyone tried?
Thanks
Logged
Indie game developer -
http://daevatheory.com/
Engine -
https://github.com/DevilWithin/Nephilim
http://www.packtpub.com/sfml-game-development/book
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Enet and SFML Networking
«
Reply #1 on:
January 15, 2012, 12:56:39 pm »
sf::Packet offers methods to get/set the raw byte array, maybe you can use them to interact with Enet.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Elgan
Jr. Member
Posts: 77
Enet and SFML Networking
«
Reply #2 on:
January 15, 2012, 01:45:59 pm »
V.cool.
The reason I was going to just use SFML network, is because of packet.
However....What are the advantages of eNet over just SFML networking?
eNet doesnt do tooo much
mainly it would be speed and "capableness" of dealing with large data.
so...can you send a SFML packet over eNet?
I never played with eNet yet.
what about on send event for encryption etc>?
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Network
»
Enet and SFML Networking
anything