How to connect to a proxy with IP, TCP port, username and password?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to connect to a proxy with IP, TCP port, username and password?

2,127 次查看
EmbeddedHobbyis
Contributor I

Hello,

I need to know how to connect to a proxy passing its IP, TCP port, username and password.

OS is MQX 3.7.

Thank you.


标签 (1)
标记 (3)
0 项奖励
回复
4 回复数

1,164 次查看
Monica
Senior Contributor III

Hello EmbeddedHobbyist!

How is the project going? Any breakthroughs? Keep us posted! :smileywink:

Best regards,

Monica

0 项奖励
回复

1,164 次查看
princyps
Contributor I

I want to know more details about the proxy support for HTTP, FTP and eMail in MQX/RTCS. Is there any userconfiguration support for proxy in RTCS stack ?

Is there any example for these? OS is MQX 4.0.

0 项奖励
回复

1,164 次查看
Martin_
NXP Employee
NXP Employee

I think you will use RTCS streaming socket to connect to a proxy IP and port. The information about true destination and username:password should be given in application layer packets. For HTTP I guess it will be in request-headers, in "Host" and "Proxy-Authorization" request-header fields.

0 项奖励
回复

1,164 次查看
kezato
Contributor I

Hi, Martin Latal.

Would you have any exemple of this implementation? I'm having the same problem, my device is installed on a local network that communicate via proxy server with internet.

tks,

0 项奖励
回复