sdl_net example

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

sdl_net example

Post by dumbledore »

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:

Post by Hexadecimal Dude! »

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

Post by marzec »

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:

Post by dumbledore »

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

Post by Hexadecimal Dude! »

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

Post by MystikShadows »

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:

Post by Hexadecimal Dude! »

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:

Post by MystikShadows »

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:

Post by dumbledore »

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:

Post by TbbW »

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:

Post by yetifoot »

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:

Post by Ryan »

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:

Post by TbbW »

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

Post by Andy_FB »

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

Post by robert8192 »

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
Post Reply