Which networking lib you recommend
Which networking lib you recommend
I was wondering what networking lib you like. So far im looking at SFML or irrnetlite. i just cant seem to get irrnetlite to work in codeblocks.
Last edited by Oster200 on Tue Aug 06, 2013 7:04 pm, edited 1 time in total.
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Which networking lib you recommend
SFML is good
"this is not the bottleneck you are looking for"
Re: Which networking lib you recommend
how about POCO lib?
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: Which networking lib you recommend
Well i think i will just go with Raknet for now i really dont want to. I cant get irrnetlite to compile. I heard boost is harder than POCO but there is not much stuff on POCO that i can find mostly for 3d games.
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Which networking lib you recommend
I still stick with SFML, for network and sound, it does what it is supposed to do and it does it well
RakNet seems cool and all but I dislike the license.
RakNet seems cool and all but I dislike the license.
"this is not the bottleneck you are looking for"
Re: Which networking lib you recommend
I just had a look at SFML. It is just a socket interface. You don't call a socket interface a network implementation, do you?
Re: Which networking lib you recommend
This is why im trying to stay away from it too.aaammmsterdddam wrote:RakNet seems cool and all but I dislike the license.
So there is boost, poco... I kinda want one of the more easy ones i can learn along the way i just havent ever touched networking.
And SFML isnt that what any other networking thing does just send information to a socket?
Re: Which networking lib you recommend
I think there is a difference between
a) Send this message to Entity 1, and
b) Connect to Entity 1; Wait for ACK; Create message with packet boundaries; Send message.
But if all the networking packages just give you a socket interface, well, OK. But there are really only two socket interfaces, the Berkeley one and the Windows one, so you should be able to write directly to the interface anyway.
a) Send this message to Entity 1, and
b) Connect to Entity 1; Wait for ACK; Create message with packet boundaries; Send message.
But if all the networking packages just give you a socket interface, well, OK. But there are really only two socket interfaces, the Berkeley one and the Windows one, so you should be able to write directly to the interface anyway.
Re: Which networking lib you recommend
Well you are probably right i have never used a networking lib.
Re: Which networking lib you recommend
Well i was just looking at the POCO lib and it looks good but, this might be a stupid question can you run a online game using POCO no latency or lag as long as servers running on a good PC?
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Which networking lib you recommend
Well no, but it provides all the functionality necessary, if you need anything but sending a data stream to entity x then you can code it or use something else, SFML has just enough functionality for me (and it's pretty lightweight)mongoose7 wrote:I just had a look at SFML. It is just a socket interface. You don't call a socket interface a network implementation, do you?
"this is not the bottleneck you are looking for"
Re: Which networking lib you recommend
What about Enet? I think irrnetlite uses it.
Working on game: Marrbles (Currently stopped).