Hello,
I am trying to create a app that will connect to a secure socket (SSL) and send a ASCII message to it but having a small issue in doing it with a username and password.
I am using this library: SocketSSL.zip
I am able to connect to my device with the secure SSL connection using this library.
However, the product I am connecting to allows you to set a username and password.
When I set a username and password in the product, then try and connect to it, it then requires a username and password to be able to connect to this secure socket.
If I try and connect to it without any username and password and I 'log' the reply from this connection it logs:
Username:
How can I include the username and password when I connect to this device?
Incase there is another way to do what I am trying to do, this is what I am trying to do:
Connect to a IPort (with a username and password) send a ASCII message to it and listen for a reply from this device.
Then, keep the connection open for any other reply's that it will automatically send without notice. (all ASCII based messages).
I am trying to create a app that will connect to a secure socket (SSL) and send a ASCII message to it but having a small issue in doing it with a username and password.
I am using this library: SocketSSL.zip
I am able to connect to my device with the secure SSL connection using this library.
However, the product I am connecting to allows you to set a username and password.
When I set a username and password in the product, then try and connect to it, it then requires a username and password to be able to connect to this secure socket.
If I try and connect to it without any username and password and I 'log' the reply from this connection it logs:
Username:
How can I include the username and password when I connect to this device?
Incase there is another way to do what I am trying to do, this is what I am trying to do:
Connect to a IPort (with a username and password) send a ASCII message to it and listen for a reply from this device.
Then, keep the connection open for any other reply's that it will automatically send without notice. (all ASCII based messages).