| Accept
(requestID)
is agreement between Server and Client in choosing the same ID Control number in order to correctly communicate.
Close
is sending signal to cancel communication between them, either Server or Client use Function. Also, making Procedure close of the opposite side work.
Connect
is sending signal that there is communication now that it make Procedure of the opposite side work.
Getdata is getting data when the opposite side sends by this command in the part of Procedure DataArrival because it is the event when the opposite side sends data to here.
Listenis manner that verify signal that send that the opposite side respond making request communication.
LocalHostNamethis command will send the name of Computer name of that computer.
Debug.Print
Winsock1. LocalHostName
LocalIPset and return value the IP Address of Computer name of computer that is communicating.
Debug.Print
Winsock1.LocalIP
LocalPort set and return value the name of Computer name of computer that is communicating.
Debug.Print Winsock1.LocalPort
RemoteHost set and return value the name of Computer name of computer that is communicating.
Winsock1.RemoteHost
=MyServer
RemoteHostIPset IP Address
Winsock1. RemoteHostIP
=10.10.0.0
RemoteHostPort set port number that is used for interaction.
Winsock1. RemoteHostIP =5000
SocketHandlewill return the way in interaction that can see in the following;
Debug.Print
Winsock1.SocketHandle
Statewill return value of status of Socket while interacting that verify status by these Constant such as sckClosed (value=0) Socket opening, sckOpen (value= 1) Socket opening, or sckError(value = 9) Socket having error, etc.
|