Search found 40 matches

by agraham147
Tue May 01, 2018 4:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Socket not working/connecting on another computer
Replies: 15
Views: 3098

Re: Socket not working/connecting on another computer

Thanks very much, but could you try reposting the images or code you sent to see what you mean please, cause I can't see them?
by agraham147
Tue May 01, 2018 3:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Socket not working/connecting on another computer
Replies: 15
Views: 3098

Socket not working/connecting on another computer

Hi, I've got my two programs sockets working perfectly on the same computer, but I've tried to put one on another computer and they won't connect with each other, yet both programs work perfectly on the same computer. This is my code for the accept connections and open socket. Do I need to change an...
by agraham147
Wed Apr 25, 2018 9:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

Does anyone know whats going wrong here, would be very much appreciated?
by agraham147
Mon Apr 23, 2018 5:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

The client sends a message to the server (the button which was pressed in this case "P"), the server receives it and updates it's scoreboard so now after that the server looks like this: Match Loaded MultiScore2.png The little black P you see on the grey line is the invisible "receiverField" (visibl...
by agraham147
Mon Apr 23, 2018 4:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

I have now switched to LiveCode 9 and this is my situation at the minute. The client program looks like this: Match Loaded.png The server program looks like this: Match Loaded MultiScore2.png Now when the client presses P key it changes the player at the table and so this is what the client looks li...
by agraham147
Sat Apr 21, 2018 7:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

I'm using LiveCode 8
by agraham147
Sat Apr 21, 2018 11:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

on someoneConnected theIP answer "Table Connected" read from socket theIP until return with message "newMessage" end someoneConnected on newMessage theIP theMessage put theMessage into field "table1Receiver" of card "multiScoreScreen1" #matchEvent read from socket theIP until return with message "n...
by agraham147
Fri Apr 20, 2018 6:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

Here is some of the code I have. At the bottom I have also included the first if statement for what to do when the message is put into the table1Receiver field to update the scoreboard. As I said before, it works 9/10 but once in a little while it doesn't work. To me it's like the newMessage handler...
by agraham147
Thu Apr 19, 2018 7:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Re: Inconsistent sockets

Ok thanks, I will try what you've suggested. :)
by agraham147
Thu Apr 19, 2018 6:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Inconsistent sockets
Replies: 11
Views: 1967

Inconsistent sockets

Hi there, I've written a program which is a snooker scoring system. I am making two software programs which connect to each other, a scoreboard (client) and the other program is the server. When something happens on a client (a button is pressed to update the score), it writes a single character to ...

Go to advanced search