Is love going to have sockets?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Is love going to have sockets?

Post by ishkabible »

So I'm going to build the latest sources and I found that luasocket is included with the sources; dose this mean we will be getting sockets in Love in future versions?
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Is love going to have sockets?

Post by thelinx »

Luasocket has been available out-of-box for quite some time.

Code: Select all

require("socket")
User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Re: Is love going to have sockets?

Post by ishkabible »

wow, didn't even know that! cool deal
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Is love going to have sockets?

Post by miko »

ishkabible wrote:wow, didn't even know that! cool deal
Right, it is incredible, but there is (was) no mention of the socket module in the wiki. So I have added this page.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
User avatar
pk
Citizen
Posts: 67
Joined: Wed Dec 14, 2011 2:13 am
Location: Texas, United States
Contact:

Re: Is love going to have sockets?

Post by pk »

It is mentioned in one of the tutorials.

https://love2d.org/wiki/Tutorial:Networking_with_UDP
ALL CREATURE WILL DIE AND ALL THE THINGS WILL BE BROKEN. THAT'S THE LAW OF SAMURAI.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Is love going to have sockets?

Post by miko »

pk wrote:It is mentioned in one of the tutorials.

https://love2d.org/wiki/Tutorial:Networking_with_UDP
Thanks, link added.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Post Reply

Who is online

Users browsing this forum: No registered users and 252 guests