-
Help w/ Winsock
Hi! i need help in using winsock. I want to send the text of textbox1.text from 1PC to another using winsock connection.
heres the code that im trying to use (im not sure if it is correct or not. lol)
PC1:
lets say
textbox1.text = "dog"
send_click()
winsock1.sendata "animal"
PC2: (lets say i want to store the received value of PC1's textbox1.text to PC2's textbox2.text)
winsock_dataarrival()
???????????
-
Re: Help w/ Winsock
you would use the getdata() method of the winsock control in the dataarrival event.
If you just look at the winsock control in your help file there will be an example of how to use it.