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

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

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

Joined: Jul 2011
Posts: 90
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
3 registered members (Praxis, robcfg, Cpt. Pugwash), 16 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,389
Posts108,532
Members4,750
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.029s Queries: 14 (0.013s) Memory: 4.9358 MB (Peak: 5.1053 MB) Zlib enabled. Server Time: 2017-07-28 16:44:29 UTC