GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2012-Mar-28

Title: Request for a Tutorial (Wlan)
Post by: mentalthink on 2012-Mar-28
Hi I don´t sure if I say this before, in this case sorry!!!  :rtfm:

Anyone can write a tutorial for communicating devices trhu the Wlan... make things over the lan it´s very easy, but I don´t know where begging for make a Wlan communication, I rebember someone Coleague tells about, the Socket Commands, but really, I don´t have any idea how works...  :-[
Title: Re: Request for a Tutorial (Wlan)
Post by: kanonet on 2012-Mar-28
If you have an connection, it doesnt matter how you created it, if its Lan, WLan, WWan... you can use NET and SOCK commands for all of them.
Title: Re: Request for a Tutorial (Wlan)
Post by: Wampus on 2012-Mar-28
Yeah. In theory, if it runs over LAN an app can be made to run over the world wild net too so long as you factor in trip delays and firewalls.
Title: Re: Request for a Tutorial (Wlan)
Post by: Kitty Hello on 2012-Mar-28
unless you want something like the Nintendo DS does for the Chat-program. That's sort of opening its own wifi access point. Almost impossible to do. Especially on mobile phones.
Title: Re: Request for a Tutorial (Wlan)
Post by: mentalthink on 2012-Mar-28
 :nw: :nw: Ok... I try to make something... and the if I do something like the examples "newtworks for Corwardd", I can connect to remote computer?¿, of Course, making the necessary thing in the Router?¿...

Every day I surprise more whit this lenguage... I  :-* it...
Title: Re: Request for a Tutorial (Wlan)
Post by: Hemlos on 2014-Jan-15
(edit)
on a lan

(original)
i have actually done this before....with an old version of glbasic (pre-socks era, netplay stuff)

youll need to know the lan ip addy for each device communicating...on a network router that is not setup as an access point, rather a simple wifi network that does not block or hide each device from each other.

The local ip's are something like this:
192.168.1.5

old thread...good topic, powerful coding.

(edit edit)

I assume to use this is identical to wlan, only...local machines are accessed with local addresses
Title: Re: Request for a Tutorial (Wlan)
Post by: Moru on 2014-Jan-15
As Gernot and Hemlos says, as long as you are not planning on creating your own wifi access point in software, it's just normal socks commands for lan game programming.

However, If you have a new(-ish) wifi access point that separates the wifi network from the lan, you will have to shut off this function on the router to be able to communicate between computer and phones.

Have you tried any of the network tutorials on the forum? What exactly is it you want to create?
Title: Re: Request for a Tutorial (Wlan)
Post by: kanonet on 2014-Jan-15
Guess its already solved or done - question is almost 2 years old guys.
Title: Re: Request for a Tutorial (Wlan)
Post by: Moru on 2014-Jan-15
Yes kanonet, rub it in. Should go to bed earlier.