UDP, IP address

Hi! I have the following problem. I need to send data to another computer with UDP component. I am using TNMUDP (fastnet) right now, but it is possible to change it to TIdUDPClient (indy component) if needed. That works very well, but now I need to send packets as they were sent from different ip address. So the receiving computer's FromIP address wouldn't be my real IP, but 'virtual ip address'.

The thing i'm doing is emulating many devices connected to each other. For now i can emulate first device. Next device would have different IP address, but i can't figure out how to make my program to send data with the senond device's ip address (who don't exist actually).

I hope you understand my problem and can help. Thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories