Knowing origin ip of a socket incoming connection

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
calvax
Posts: 9
Joined: Fri Dec 30, 2011 6:10 pm

Knowing origin ip of a socket incoming connection

Post by calvax » Tue Jan 19, 2016 1:32 pm

For example

accept connections on port 8040 with message "gotConnection"

in "gotconnection" script, how can I know source IP of the incoming connection?
thanks

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Knowing origin ip of a socket incoming connection

Post by Klaus » Tue Jan 19, 2016 1:47 pm

Hi calvax,

why not take a look at the dictionary -> "accept"?
Believe it or not, you will find the answer there in the "Comments"! 8)


Best

Klaus

Post Reply