Page 1 of 1

Knowing origin ip of a socket incoming connection

Posted: Tue Jan 19, 2016 1:32 pm
by calvax
For example

accept connections on port 8040 with message "gotConnection"

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

Re: Knowing origin ip of a socket incoming connection

Posted: Tue Jan 19, 2016 1:47 pm
by Klaus
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