Previous Thread
Next Thread
Print Thread
#109582 - 05/14/17 11:50 PM function to open listening socket?  
Joined: Jul 2011
Posts: 91
TSCHAK Offline
Member
TSCHAK  Offline
Member

Joined: Jul 2011
Posts: 91
Hey guys, are there functions implemented to open listening sockets (so I can open one in lua, and send to it from an outside TCP socket?)

-Thom

#109583 - 05/15/17 12:27 AM Re: function to open listening socket? [Re: TSCHAK]  
Joined: Jan 2012
Posts: 692
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 692
Just do it, it'll create a listen socket if there's not already a listener on the port.

#109584 - 05/15/17 12:35 AM Re: function to open listening socket? [Re: TSCHAK]  
Joined: Jul 2011
Posts: 91
TSCHAK Offline
Member
TSCHAK  Offline
Member

Joined: Jul 2011
Posts: 91
Thanks, hopefully once I get started, these stupid questions will subside. smile

I'm also offering to give the script to mamedev if you guys want (essentially, control over tcp port). Hopefully it would be useful to others.

-Thom


Who's Online Now
4 registered members (mixmaster, palindrome, nerd4gw, reenigne), 22 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,439
Posts109,445
Members4,766
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.060s Queries: 14 (0.035s) Memory: 4.9367 MB (Peak: 5.1073 MB) Zlib enabled. Server Time: 2017-11-24 07:20:43 UTC