I have been working on a small client that uses winsocks and I am wondering how to create events such as when a certain type of string data is recieved such as
i recieve "LOCALINFO 192.168.1.1:1234"
i want to have an event like
Private Sub MyControl_LocalInfo(IpAddress as String, Port as String)
when the user adds the control