Visual Productions forum

Author Topic: Re: COREs TCP Connections  (Read 1378 times)

August 22, 2022, 09:33:35 AM
Read 1378 times

Radu

  • Member
  • *
  • Posts: 4
Same issue.

I'm trying to send a http request. That's hard without special characters.
Sending a hex byte in stead seems to be limited to 48bytes?

Does anyone know a workaround?

August 22, 2022, 12:58:04 PM
Reply #1

Julien Levaufre

  • Administrator
  • Member
  • *****
  • Posts: 3229
    • www.visualproductions.nl
Hi,
As your issue was quite different than the one in the previous spot I created a special thread for it,
Could you tell me more details about what you are trying to achieve to be able to understand the whole picture and help you.
Are you trying to send a http request to a core or from a core? By the way, which model are you using?
Yes there is a character limits on sending bytes.
Julien Levaufre
Visual Productions BV

August 23, 2022, 02:46:01 PM
Reply #2

Radu

  • Member
  • *
  • Posts: 4
Hi Julien,
 
Haha issue was quite different indeed. Only similairity was the special character.

The goal is to send a GET or PUT request to a server to activate something using a cuecore3.

What i did was trying to send a string over a tcp connection to the server.

it looks something like this:

GET /hello.htm HTTP/1.1
Host: www.tutorialspoint.com
Connection: Keep-Alive

The newlines are part of the request. But how do i do that without special characters (fe \n). Option could be converting it to a HEX string but i could only string 96 characters (48bytes).

Looking forward to the solution.

 

SMF spam blocked by CleanTalk