[SDL] Help with SDL_Net SDLNet_TCP_Send() function
Donny Viszneki
donny.viszneki at gmail.com
Thu Jan 15 20:53:58 PST 2009
Oh I completely misunderstood what you said. Sorry!
On Thu, Jan 15, 2009 at 11:53 PM, Donny Viszneki
<donny.viszneki at gmail.com> wrote:
> SDL cannot change the behavior of strerror()
>
> I suppose SDL could set errno, but there's no compelling reason to do this.
>
> You shouldn't use errno or strerrno() to deal with SDL problems. Even
> if you discover exceptional situations that you seem to be able to
> handle using errno, SDL makes no guarantees of this being portable
> between platforms nor different versions of SDL.
>
> On Thu, Jan 15, 2009 at 9:44 PM, Pierre Phaneuf <pphaneuf at gmail.com> wrote:
>> On Thu, Jan 15, 2009 at 5:58 PM, Donny Viszneki
>> <donny.viszneki at gmail.com> wrote:
>>
>>> Have you verified that SDLNet_TCP_Accept() didn't error?
>>
>> Yeah, that's all I can see, other than being disappointed that the
>> SDL_SetError() that reported this accept() error didn't put in the
>> output of strerror(errno)... :-(
>>
>> --
>> http://pphaneuf.livejournal.com/
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>
>
>
> --
> http://codebad.com/
>
--
http://codebad.com/
More information about the SDL
mailing list