LAN networking tutorial?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
redheadgames
Posts: 2
Joined: Wed Apr 08, 2015 5:21 pm

LAN networking tutorial?

Post by redheadgames » Wed Apr 08, 2015 5:41 pm

Can anyone point me to an introduction to local networking in livecode or at least an example? There seems to be a fair amount available for internet networking, but it's not very beginner friendly and I can't find hardly any references to LAN.

I'm still evaluating if livecode is even the right platform for my app, and it would not ideal to work my way gradually to networking only to find it is suboptimal at what I need it to do (cross platform networking over a LAN).

Thanks for any input at all!

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: LAN networking tutorial?

Post by FourthWorld » Wed Apr 08, 2015 5:56 pm

If your LAN uses TCP/IP is should be pretty much the same as working with the outside Internet, like easier since you won't have to contend with firewalls or proxies.

What problems have you encountered?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

redheadgames
Posts: 2
Joined: Wed Apr 08, 2015 5:21 pm

Re: LAN networking tutorial?

Post by redheadgames » Wed Apr 08, 2015 6:13 pm

FourthWorld wrote:If your LAN uses TCP/IP is should be pretty much the same as working with the outside Internet, like easier since you won't have to contend with firewalls or proxies.

What problems have you encountered?
The problem I am having is getting started. All the networking resources I've found seem to start in the middle. I just need help in knowing where to start (or even a simple example project would probably work). There seem to be specific tutorials for everything else besides networking

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: LAN networking tutorial?

Post by FourthWorld » Wed Apr 08, 2015 6:15 pm

This may be a good starting point, a complete Chat program with client and server stacks:
http://lessons.runrev.com/m/4071/l/1292 ... ng-sockets

Once you have that running you have the basics of socket communications down, and can then build on that to handle just about anything you need.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply