Sorry.. forgot to set the remote port for Winsock2.. Form_Load event code should be as follows..
<--- insert in Form_Load event --->
'Bind the first socket to the 'listening' port.
Winsock1.Bind 1000
'Set the remote host address to forward the data to.
Winsock2.RemoteHost =...
This should do the trick for you...
Add two Winsock controls to a form, and set the protocol on both to UDP. (I'm assuming this is what you are using.)
<--- insert in Form_Load event --->
'Bind the first socket to the 'listening' port.
Winsock1.Bind 1000
'Set the remote host address to forward...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.