I’m a bit of a network n00b, so please be gentle and explain things in a really, REALLY dummy way (it seems to me that every time it comes to network related stuff, people start talking a totally different language). I’m a fairly experienced C# programmer, but lacks some skill when it comes to communication between machines.
The scenario is this: I’m working with a product that communicates with other devices through tcp/ip. Is it possible to make a dummy program that acts like ta tcp/ip connection (locally on my machine), so I can hook up my other program to it by setting its IP address (and port), and then have it return whatever mocking/testing data I want?
To be honest I don’t see the point of ‘mocking’ anything here just use the proper TCP/IP connection, because obviously you can send the data over TCP/IP between 2 different applications on the same IP.
Check out this example:
http://www.codeproject.com/KB/IP/tcpclientserver.aspx