Post 8 made on Monday March 23, 2009 at 17:36 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,002 |
|
|
FYI, while inside any of the TCPSocket onXXXX functions, the keword 'this' is set to the current socket or callback object. The same applies for RS232 Serial onXXXX functions as well.
As a result, your code socket.read() is functionally equivalent to this.read().
I provided a post discussing such concepts quite a while back. If you want to read more, do a search for +serial +this +keyword and see the posts that come up (first one contains original discussion).
.
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|