Socket communication

Phil Davis revdev at pdslabs.net
Tue Nov 22 16:33:35 EST 2016


For clarity, it would be nice to have a "stop accepting connections on 
port x" command.
Phil

On 11/22/16 1:31 PM, Phil Davis wrote:
> That's a really good question Ralph!
>
> Maybe you could put the 'accept' and 'callbackMessage' code in a 
> script that can be put into use / taken out of use and that would do 
> it, but I haven't tried it.
>
> Phil Davis
>
>
>
> On 11/22/16 1:11 PM, Ralph DiMola wrote:
>> When one enables socket communication on the server side using the form
>> "accept [datagram] connections on port portNumber with message
>> callbackMessage", how do you stop accepting new connections? The LC 
>> lesson
>> show closing all open sockets but not how to prevent new connections.
>>
>> Thanks!
>>
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>

-- 
Phil Davis





More information about the Use-livecode mailing list