%% Connect to TCP/IP Remote Host and Set Timeout Period
% Create a TCP/IP client connection called t and set the timeout period to 20 seconds.

t = tcpclient("144.212.130.17",80,"Timeout",20)

% See the value of Timeout.

t.Timeout

% The output reflects the property change.
% Copyright 2020 The MathWorks, Inc.