Ok, this is my first time messing with sockets/sockbots, and say I wanted to display the status of the socket/sockbot into a list on a dialog, how would I do that?
be patient p0rky, it's only been an hour or two. Ths is a slower time of day on here. If people have the knowledge to help you Im sure they will if you're patient And no, I can't answer you as I havent a clue about it sorry
You can retrieve the status of a socket using $sock(sockname).status which returns connecting when a connection is being established, and active when a connected has been established. It will also return $null if the socket has been disconnected, i.e. it is no longer open
ok that gives me "connecting", but when it connects, it doesnt stay connected (and I don't want it to) so how can i get it to tell me that it's disconnected, $sockerr?