Difference between revisions of "SocketCore.IsConnected"
From Xojo Documentation
Line 21: | Line 21: | ||
// proceed using the connection | // proceed using the connection | ||
Else | Else | ||
− | + | MessageBox("Connection failed!") | |
End If | End If | ||
</rbcode> | </rbcode> |
Latest revision as of 02:19, 30 August 2019
Read-Only Property (As Boolean )
Indicates whether the socket is currently connected.
Notes
For TCPSockets, a connection means you can send and receive data and are connected to a remote machine. For UDPSockets, this means that you are bound to the port and are able to send, receive, join or leave multicast groups, or set socket options.