From Xojo Documentation
| This class is supported on iOS.
Use ＃If...＃Endif with the Target... constants to ensure you only use this class where it is supported.
This class is used for TCP/IP communication.
You can add a "Generic Object" control your view and change its Super to "Xojo.Net.TCPSocket" to create a subclass directly on the view, giving you access to the events. You can also create your own subclass or use AddHandler to access the events.