How to simulate a dial-up connection for testing purposes?

Posted by mawg on Stack Overflow See other posts from Stack Overflow or by mawg
Published on 2010-06-16T01:11:52Z Indexed on 2010/06/16 1:22 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

I have to code a server app where clients open a TCP/IP socket, send some data and close the connection.

The data packets are small < 100 bytes, however there is talk of having them batch their transactions and send multiple packets.

How can I best simulate a dial-up ut connection (using Delphy & Indy components, just FYI)?

Is it as simple as

  • open connection
  • wait a while (what is the definition of "a while"?)
  • close connection

© Stack Overflow or respective owner

Related posts about delphi

Related posts about network-programming