Sockets

Eric Corbett eric at canelasoftware.com
Mon Dec 22 22:54:39 EST 2014


Thanks Peter,

Try starting a server by doing 

accept connections on port 12345 with message "xxx"

Then list the openSockets. The open port 12345 will or might have an extra character at the end. 

- Eric



> On Dec 22, 2014, at 17:35, Peter W A Wood <peterwawood at gmail.com> wrote:
> 
> Hello Eric
> 
> I ran a very simple test using LiveCode 7.0.1 on OS X Yosemite and didn’t see the issue. It was a very simple test though.
> 
> My test had three buttons: open, list, close and one field: Report.
> 
> The three button scripts were:
> 
>    open - open socket to "127.0.0.1:80"
>    
>    close - close socket "127.0.0.1:80"
> 
>    list - put the openSockets into Field "Report"
> 
> It worked as expected.
> 
> Regards
> 
> Peter
> 
>> On 23 Dec 2014, at 09:04, Eric Corbett <eric at canelasoftware.com> wrote:
>> 
>> Hello all,
>> 
>> I’m using LiveCode 7.0.1.
>> 
>> I have a port open and when I get the openSockets list, the port has an extra character on the end like an ‘å’ or a double quote. I check to see if the port is in the openSocket list so I don’t try to accept connections again, but if I have wholeMatches set to true, it’s not returning true.
>> 
>> Can anyone confirm this before I submit a bug report?
>> 
>> Thanks,
>> 
>> - Eric
>> _______________________________________________
>> 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
> 
> 
> _______________________________________________
> 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




More information about the use-livecode mailing list