tcpip with login and password

9 views (last 30 days)
infrared4ever
infrared4ever on 21 Mar 2015
Answered: Guillaume on 21 Mar 2015
Hello you all,
is it possible to include a login and a password inside the following code:
conn=tcpip('192.168.1.100',21845);
The remote device is always asking for a login and a password but I would like to make a full automation when accessing to that remote device.
Any help will be very appreciated.

Accepted Answer

Guillaume
Guillaume on 21 Mar 2015
I don't know anything about matlab's implementation of tcpip, but authentication would have to be implemented at a higher layer than TCP/IP. See the OSI model, TCP/IP is only responsible for the transport of the data (layer 4). It's the protocol at layer 5,6 or 7 that would be responsible for authentication.
So, in short, if tcpip is correctly implemented, it shouldn't / can't offer any option for login/password. It's whatever protocol on top of tcp that will enable login.

More Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!