Search found 6 matches

by Livecoder
Sun Aug 24, 2014 5:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Finding name of an image I just dropped another image on
Replies: 2
Views: 2187

Finding name of an image I just dropped another image on

Hi everyone. I am developing a game in which you can drag and drop different images around the screen using grab I have image "Red" and i want to know the name of the image i just dropped it on without having to have a whole heap of code manually checking each possibility. Any ideas on how I could g...
by Livecoder
Thu Feb 20, 2014 7:31 pm
Forum: Off-Topic
Topic: Making an ultra-simple Livecode server and client
Replies: 13
Views: 10251

Re: Making an ultra-simple Livecode server and client

I think I solved that, the problem actually lies in the server end, write "hello" to socket connected answer "Sent" You do not get the sent pop-up, that explains why the client could not read it, it was never sent! So my real question should be what am I doing wrong on the server end? I do not know ...
by Livecoder
Thu Feb 20, 2014 7:18 pm
Forum: Off-Topic
Topic: Making an ultra-simple Livecode server and client
Replies: 13
Views: 10251

Re: Making an ultra-simple Livecode server and client

Right, I think I found my problem, it comes from the client end,

Code: Select all

   read from socket s with message chatReceived
   answer "read it"

I do not get the pop-up.
What am i doing wrong here?
:?:

By the way, I am using both programs on the same computer
by Livecoder
Thu Feb 20, 2014 5:50 pm
Forum: Off-Topic
Topic: Making an ultra-simple Livecode server and client
Replies: 13
Views: 10251

Re: Making an ultra-simple Livecode server and client

FourthWorld wrote:I think you'll need to specify a port number rather than attempt all with "*".
I replaced the port I am using with a "*" for security purposes for when I was positing it on this forum. I do not know if it is safe to post which ports I am using online. Is it?
by Livecoder
Thu Feb 20, 2014 5:41 pm
Forum: Off-Topic
Topic: Making an ultra-simple Livecode server and client
Replies: 13
Views: 10251

Re: Making an ultra-simple Livecode server and client

Thank you very much for your replies, I have come up with some code, but it doesn't seem to work could someone possibly have a look at it and tell me what I am doing wrong. This is the button that connects to the server: on mouseUp open socket "localhost" & ":*" with message "chatConnected" end mous...
by Livecoder
Tue Feb 18, 2014 4:48 pm
Forum: Off-Topic
Topic: Making an ultra-simple Livecode server and client
Replies: 13
Views: 10251

Making an ultra-simple Livecode server and client

Hi everyone, i'm new to this forum but i'm stuck trying to build a simple server. I'm trying to be able to have a client receiving a variable from the server when a button is clicked. But I don't know where to start. If anyone could help that would be brilliant.