hey there
well i wanna know how return to a var the number port conected with the socket
oSocket = TSocket():New( 2000 )
how are conected now i wanna know port that to be conect
someone know ?? thanks
hey there
well i wanna know how return to a var the number port conected with the socket
oSocket = TSocket():New( 2000 )
how are conected now i wanna know port that to be conect
someone know ?? thanks
Have you tried oSocket:nPort?
thanks very much
with it return ah port 2000
more a thing
how i know while the client is conected with socket servidor ?
osockt:onconect ?
thanks
Try:
oSocket:bConnected := {|| msgInfo("Connected") }