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

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

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

Joined: Jul 2011
Posts: 93
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 (robcfg, Lord Nightmare, pmackinlay, Dagarman, judge), 14 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,528
Posts111,317
Members4,792
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.064s Queries: 15 (0.045s) Memory: 4.9373 MB (Peak: 5.1298 MB) Zlib enabled. Server Time: 2018-04-26 05:37:23 UTC