IdDiscardUDPServer.pas 987 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. $Project$
  3. $Workfile$
  4. $Revision$
  5. $DateUTC$
  6. $Id$
  7. This file is part of the Indy (Internet Direct) project, and is offered
  8. under the dual-licensing agreement described on the Indy website.
  9. (http://www.indyproject.org/)
  10. Copyright:
  11. (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserved.
  12. }
  13. {
  14. $Log$
  15. }
  16. {
  17. Rev 1.1 1/21/2004 2:12:48 PM JPMugaas
  18. InitComponent
  19. Rev 1.0 11/14/2002 02:18:14 PM JPMugaas
  20. }
  21. unit IdDiscardUDPServer;
  22. interface
  23. {$i IdCompilerDefines.inc}
  24. uses
  25. Classes,
  26. IdAssignedNumbers, IdUDPServer;
  27. type
  28. TIdDiscardUDPServer = class(TIdUDPServer)
  29. public
  30. constructor Create(AOwner: TComponent); override;
  31. published
  32. property DefaultPort default IdPORT_DISCARD;
  33. end;
  34. implementation
  35. { TIdDiscardUDPServer }
  36. constructor TIdDiscardUDPServer.Create(AOwner: TComponent);
  37. begin
  38. inherited Create(AOwner);
  39. DefaultPort := IdPORT_DISCARD;
  40. end;
  41. end.