tcpiputils.pas 627 B

1234567891011121314151617181920212223242526272829303132
  1. (*
  2. Useful classes for TCP/IP communication.
  3. Copyright (c) 2013 by Silvio Clecio, Gilson Nunes Rodrigues and Waldir Paim
  4. See the file COPYING.FPC, included in this distribution,
  5. for details about the copyright.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. *)
  10. unit TcpIpUtils;
  11. {$mode objfpc}{$H+}
  12. interface
  13. uses
  14. SysUtils;
  15. const
  16. TCP_IP_INFINITE_TIMEOUT = $FFFFFFFFFFFFFFFF;
  17. TCP_IP_DEFAULT_TIMEOUT = $3E8;
  18. type
  19. ETcpIpError = class(Exception);
  20. implementation
  21. end.