Could u tell me how to use SDL_net?

sdl,hi:

how can i use SDL_net?

I had copied SDL_net.dll into my project file
but I can’t use it by #include "SDL_net/SDL_net.h"
or
#include "SDL/SDL_net.h"
how can i do?
tell me, thx a lot.

sorry for my english, i’m chinese

??

???

Hi zhaoce,

It depends where you put SDL_net.h

If you put it in your include directory you just do #include “SDL_net.h”

If you put it in a folder named “SDL” inside your include directory, then you do #include “SDL/SDL_net.h”

Make sure that you have actually downloaded the .h files for sdl_net otherwise it wont work.

Let us know if you have any other questions, your English was very good!> ----- Original Message -----

From: sdl-bounces+atrix2=cox.net@libsdl.org [mailto:sdl-bounces+atrix2=cox.net at libsdl.org] On Behalf Of zhaoce
Sent: Thursday, March 30, 2006 5:57 PM
To: sdl
Subject: [SDL] could u tell me how to use SDL_net?

sdl,hi:

how can i use SDL_net?
I had copied SDL_net.dll into my project file
but I can’t use it by #include "SDL_net/SDL_net.h"
or
#include "SDL/SDL_net.h"
how can i do?
tell me, thx a lot.

sorry for my english, i’m chinese

??

???

Hello !

you do #include “SDL/SDL_net.h”

The best is to include #include “SDL_net.h”, the same
as #include “SDL.h”

CU