[SDL] SDL_net one more !!!

Sam Lantinga slouken at devolution.com
Tue Aug 19 22:26:11 PDT 2003


> "Sam Lantinga" <slouken at devolution.com> ha scritto nel messaggio
> news:E19p8PW-0003Gi-00 at twomix.devolution.com...
> > > I wanted to add some functions lacking, type:
> > > inet_ntoa
> > > ntohs
> > > etc...
> >
> > You can use the functions in SDL_endian.h, which are usually equivalent.

> yes for ntohs ... but inet_ntoa is absolutly usefull for uman like readable
> string,
> for hour if it is had need of such function or is used from the lib winsock
> or must rewrite it by hand, seems a useless redundancy to me inasmuch as
> already other library of net supply it.

Good point, I'll add it to the TODO list.

Thanks!
	-Sam Lantinga, Software Engineer, Blizzard Entertainment




More information about the SDL mailing list