I have 2 winsock on a form ..
If the person have the password to unloack the application, he can send message :
For the sencond winsock , I put that in the fCode:Private Sub Command1_Click () Winsock1.LocalPort=52 Winsock1.connect "24.226.111.11", "51" Winsock1.SendData "YO !" End Sub
So, I open the program,Code:Private Sub Form_load () Winsock2.RemotePort=52 Winsock2.LocalPort=51 Winsock2.Listen End if
I click on the button and winsock won't send anything ..!
WHY ?
Can you give me a good code to send/get ASCII data in TCP/IP
connection ??




Reply With Quote