Sign in to follow this  

recv causes program to crash

This topic is 4832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am having a problem with the winsock library, but I think it may fall in the realm of general programming as I know how to use winsock and don't need any help with network programming. Anyways, I find that I can use recv just fine on my console client. However on my sdl/opengl/openal client, the program will freeze the moment I call recv. Currently I only call it once, I pull only 1 byte of data to be safe (so its not a memory violation), and I don't even touch the data afterwards...should work right? wrong... If anybody has a clue what is going on, it would really really be appreciated. This is a stupid problem in my opinion which makes no sense as to why it should happen, and it is really getting in the way of my 3d network programming. edit: could it possibly be a conflict with sdl, opengl, openal, or for that matter the other libraries I used which are glew, sdl_image, and sdl_ttf?

Share this post


Link to post
Share on other sites

This topic is 4832 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this