IdDiscardUDPServer.pas 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. { $HDR$}
  2. {**********************************************************************}
  3. { Unit archived using Team Coherence }
  4. { Team Coherence is Copyright 2002 by Quality Software Components }
  5. { }
  6. { For further information / comments, visit our WEB site at }
  7. { http://www.TeamCoherence.com }
  8. {**********************************************************************}
  9. {}
  10. { $Log: 10133: IdDiscardUDPServer.pas
  11. {
  12. { Rev 1.0 2002.11.12 10:36:14 PM czhower
  13. }
  14. unit IdDiscardUDPServer;
  15. interface
  16. uses
  17. Classes,
  18. IdAssignedNumbers, IdSocketHandle, IdUDPBase, IdUDPServer;
  19. type
  20. TIdDiscardUDPServer = class(TIdUDPServer)
  21. public
  22. constructor Create(AOwner: TComponent); override;
  23. published
  24. property DefaultPort default IdPORT_DISCARD;
  25. end;
  26. implementation
  27. { TIdDiscardUDPServer }
  28. constructor TIdDiscardUDPServer.Create(AOwner: TComponent);
  29. begin
  30. inherited Create(AOwner);
  31. DefaultPort := IdPORT_DISCARD;
  32. end;
  33. end.