-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.Net.IPAddress.Ref is access;
with type MSSyst.Net.IPEndPoint.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Net.Sockets.LingerOption.Ref is access;
with type MSSyst.Net.Sockets.NetworkStream.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Object;
package MSSyst.Net.Sockets.TcpClient is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_TcpClient(
      This : Ref := null;
      localEP : MSSyst.Net.IPEndPoint.Ref) return Ref;
   function new_TcpClient(
      This : Ref := null) return Ref;
   function new_TcpClient(
      This : Ref := null;
      hostname : MSSyst.String.Ref;
      port : Integer) return Ref;
   procedure Close(
      This : access Typ);
   procedure Connect(
      This : access Typ;
      address : MSSyst.Net.IPAddress.Ref;
      port : Integer);
   procedure Connect(
      This : access Typ;
      remoteEP : MSSyst.Net.IPEndPoint.Ref);
   procedure Connect(
      This : access Typ;
      hostname : MSSyst.String.Ref;
      port : Integer);
   function get_LingerState(
      This : access Typ) return MSSyst.Net.Sockets.LingerOption.Ref;
   function get_NoDelay(
      This : access Typ) return Standard.Boolean;
   function get_ReceiveBufferSize(
      This : access Typ) return Integer;
   function get_SendBufferSize(
      This : access Typ) return Integer;
   function GetStream(
      This : access Typ) return MSSyst.Net.Sockets.NetworkStream.Ref;
   procedure set_LingerState(
      This : access Typ;
      value : MSSyst.Net.Sockets.LingerOption.Ref);
   procedure set_NoDelay(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_ReceiveBufferSize(
      This : access Typ;
      value : Integer);
   procedure set_SendBufferSize(
      This : access Typ;
      value : Integer);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_TcpClient);
   pragma Import(MSIL,Close,"Close");
   pragma Import(MSIL,Connect,"Connect");
   pragma Import(MSIL,get_LingerState,"get_LingerState");
   pragma Import(MSIL,get_NoDelay,"get_NoDelay");
   pragma Import(MSIL,get_ReceiveBufferSize,"get_ReceiveBufferSize");
   pragma Import(MSIL,get_SendBufferSize,"get_SendBufferSize");
   pragma Import(MSIL,GetStream,"GetStream");
   pragma Import(MSIL,set_LingerState,"set_LingerState");
   pragma Import(MSIL,set_NoDelay,"set_NoDelay");
   pragma Import(MSIL,set_ReceiveBufferSize,"set_ReceiveBufferSize");
   pragma Import(MSIL,set_SendBufferSize,"set_SendBufferSize");
end MSSyst.Net.Sockets.TcpClient;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Net.Sockets.TcpClient,
   ".ver 1:0:5000:0 .publickeytoken=( 96 9d b8 05 3d 33 22 ac )",
   "[System]System.Net.Sockets.TcpClient");
