Sending Winsock UDP packet problem
Posted on 2003-11-04
Hi, I'm ted
I got this little dilemma that I was hoping you could help me with. I am writing a visual basic app that uses a Winsock control to send a UDP packet to my server containing a string "status". This then provokes a response telling me the server information needed. The problem I have is that it will only send the response back to the workstation that sent the packet. I want to be able to manipulate the UDP packet with the source address of say my other box so that another box on my network gets the response. In short I want a program where i can send status from a workstation, and have the response sent to my other workstations. Sending UDP packets with different source addresses and i am not sure how to go about coding this, the UDP packet itself works perfectly.
Sorry if this is a bit long winded, I found it hard to explain.
Any help would be most appreciated , especially code