delphi - How to simulate a dial-up connection for testing purposes? -
I have to code a server app where customers will open a TCP / IP socket, send some data and close the connection.
The data packet is small & lt; 100 bytes, though it's a matter of batching their transactions and sending multiple packets.
How can I simulate the best one dial-up yat connection (using Delphi and indie components, just FYI)?
Is it easy
- Open connection
- Wait a while (What is the definition of "a little while"?)
- Close connection
You can use a network emulator if you have a Linux There is a machine (an old project but still useful, used a few years ago), you can create many scanniero limited bandwidth or other features in network communication. There is an application that seems to be doing this, but I have not used it, so you can not tell whether it is good or not.
If you want to emulate the modem, then you can use it which provides absolutely. / P>
Comments
Post a Comment