sdl_net example

Post your FreeBASIC tips and tricks here. Please don’t post your code without including an explanation.
dumbledore
Posts: 680
Joined: May 28, 2005 1:11
Contact:

sdl_net example

Postby dumbledore » Jun 26, 2005 4:00

a lil sdl_net thing i cooked up to learn how to do network stuff...
http://m0n573r.afraid.org/sdlnettest.zip
it's a thing where you see yourself and the other person, and you run around the screen with the arrow keys, don't get addicted ;P
Hexadecimal Dude!
Posts: 360
Joined: Jun 07, 2005 20:59
Location: england, somewhere around the middle
Contact:

Postby Hexadecimal Dude! » Jun 26, 2005 12:17

what host do i want to connect to?
marzec
Posts: 225
Joined: Jun 06, 2005 23:17

Postby marzec » Jun 26, 2005 12:30

doesn't work on the loopback device ( 127.0.0.1 ) unless i did something wrong ( sdltest.exe is server, start server then start up to instances of the client right? )
dumbledore
Posts: 680
Joined: May 28, 2005 1:11
Contact:

Postby dumbledore » Jun 26, 2005 12:41

did you try "localhost"?
Hexadecimal Dude!
Posts: 360
Joined: Jun 07, 2005 20:59
Location: england, somewhere around the middle
Contact:

Postby Hexadecimal Dude! » Jun 26, 2005 12:45

yay! i'm playing with myself!
. . .
MystikShadows
Posts: 612
Joined: Jun 15, 2005 13:22
Location: Upstate NY
Contact:

Postby MystikShadows » Jun 26, 2005 13:41

lol if you don't mind, I won't comment on someone playing with themselves....this is a coders' forum after all ;-)
Hexadecimal Dude!
Posts: 360
Joined: Jun 07, 2005 20:59
Location: england, somewhere around the middle
Contact:

Postby Hexadecimal Dude! » Jun 26, 2005 14:27

tut tut tut...... i meant im using one of my little @ signs and chasing the other, then running away! some of the dirty minded ppl............

SHAME ON YOU!!!!!!
MystikShadows
Posts: 612
Joined: Jun 15, 2005 13:22
Location: Upstate NY
Contact:

Postby MystikShadows » Jun 26, 2005 14:33

lol....dirty minded? nah that was back when I was 7.....LOLOL...I've evolved since then ;-)
dumbledore
Posts: 680
Joined: May 28, 2005 1:11
Contact:

Postby dumbledore » Jun 26, 2005 18:03

updated, same link (http://m0n573r.afraid.org/sdlnettest.zip), now it supports mulitple clients and client disconnects.
TbbW
Posts: 348
Joined: Aug 19, 2005 10:08
Contact:

Postby TbbW » Dec 07, 2005 2:03

nyone got a copy of this code i'm looking for it.
dumbledore seemed to clean his webserver up abit so this file is no longer there.

im usaly in the #freebasic channel on freenode or you can send it to my e-mail and its tbbw82 { damn spam bot spiders ) gmail.com

ty in advance.
yetifoot
Posts: 1710
Joined: Sep 11, 2005 7:08
Location: England
Contact:

Postby yetifoot » Dec 07, 2005 2:11

i think he has to be online for you to be able to get it.
Ryan
Posts: 695
Joined: Jun 10, 2005 2:13
Location: Louisville, KY
Contact:

Postby Ryan » Dec 07, 2005 5:44

Talk to Oz. He has an extensive example that's very good. If you can't get ahold of him, I can send it to you.
TbbW
Posts: 348
Joined: Aug 19, 2005 10:08
Contact:

Postby TbbW » Dec 14, 2005 13:15

ty dumbledore for putting it on you'r webserver again :)
*thumbs up*

im happy -> http://humor.derenback.se/bilder/besoka ... smile2.jpg
Andy_FB
Posts: 3
Joined: Feb 08, 2010 17:41

Postby Andy_FB » Feb 12, 2010 9:29

It's been a while since this was posted and the link to the code isn't working anymore...
Does anyone know where I can get it?
Is dumbledore still around?
Sounds like a great example to learn sdl_net. Thanks, Andy
robert8192
Posts: 35
Joined: Apr 27, 2010 15:03

Hey

Postby robert8192 » Jul 23, 2010 23:07

Hey Andy_FB and everyoneelse I am looking for some SDLNet info also
if you could post a link that works here, I want to use SDLNet in a game
I am making..

Thanks in advance

Return to “Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 5 guests