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

Joined: Jul 2011
Posts: 86
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: 649
crazyc Offline
Senior Member
crazyc  Offline
Senior Member

Joined: Jan 2012
Posts: 649
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: 86
TSCHAK Offline
Member
TSCHAK  Offline
Member

Joined: Jul 2011
Posts: 86
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
5 registered members (Heihachi_73, mfm005, Cpt. Pugwash, 2 invisible), 13 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,339
Posts107,774
Members4,738
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.023s Queries: 15 (0.008s) Memory: 4.9361 MB (Peak: 5.1058 MB) Zlib enabled. Server Time: 2017-05-27 19:26:40 UTC