🔒 Locked
SDL_Net?
Advertisement
Original Post
sorry for this post, you probably have seen this post serveral times, but i would like to ask again. Does anyone have any very basics SDL_Net samples. all i want to know is a server, and a client, where there can me more then one client connected. pretty much something that resembles a chat room. client that can send, and all clients can see what is sent. thanks.
unless your interested in doing lower level stuff, i would recommend checking out a higher level lib. personally i love RakNet. there are other choices though. check out the forum FAQ for a good list of libs.
You may likely have trouble linking to the sdl library because you are only linking to sdl.lib and forgetting to link to sdlmain.lib as well.
Additionally another common problem if you're using VC++ is not changing the code generation to type "multithreaded dll" which can be set at the project properties.
Additionally another common problem if you're using VC++ is not changing the code generation to type "multithreaded dll" which can be set at the project properties.
Quote:
Original post by Thanhda
okay this is not what i'm looking for, its great and all, but i cant get it to compile, and looks too complicated. as in unessary.
there's nothing really unesesary or complicated about RakNet. any part of it that you do not wish to use you don't have to. also, it is much simpler to use the SDL_Net. in SDL_Net, you have to manage connections, write reliable UDP yourself, etc. RakNet takes care of all of this stuff for you. like i said, if you prefer to be low level and do all that stuff, then go right ahead. however if youd rather spend more time getting right to the game layer of the net code, then choosing a high level lib is a good choice.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement