How to set a command like i can know if the client is connected to the server,i have the code below please check if it is right one.:
.Code:If Winsock.State=sckConnected then Msgbox "You are connected to the server, cheer up." Else Msgbox "You are not connected to the server, go suicide." End If




Reply With Quote