SFML community forums

Help => Network => Topic started by: Grimshaw on January 15, 2012, 12:49:19 pm

Title: Enet and SFML Networking
Post by: Grimshaw 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
Title: Enet and SFML Networking
Post by: Nexus 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.
Title: Enet and SFML Networking
Post by: Elgan 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>?