Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: RE: NetX HTTP Client get

$
0
0
Hi Angler84, You're right, there might be missing "Host" header in the request. You might need using TCP directly and build the HTTP request manually. You should bind the socket (nx_tcp_client_socket_bind), connect to remote server (nx_tcp_client_socket_connect), allocate a packet (nx_packet_allocate) and fills it in with the request including "Host" header (nx_packet_data_append). Then send the packet (nx_tcp_socket_send). The response can be received using nx_tcp_socket_receive. To disconnect and unbind the socket use nx_tcp_socket_disconnect and nx_tcp_client_socket_unbind. Regards, adboc

Viewing all articles
Browse latest Browse all 23645

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>