how to akes a HTTP connection to the server on yun?

wifishiled:
client.connect(server, 80);

but how to do it on yun?

zixzixzix:
wifishiled:
client.connect(server, 80);

but how to do it on yun?

You don't. There is no http server on the Atmel/sketch part of the Yun, the WiFi/Ethernet is only available on the MIPS/Linin (Linux) part of the Yun.

Ralf

I know that.
But I do not know how to do it in Linux.

zixzixzix:
I know that.
But I do not know how to do it in Linux.

Well, what programming language/software are you using? What server are you trying to use? From where?

I understand that you aren't likely a native English speaker (neither am I) but you need to be a bit more detailed in your description in that case if you think you do not find the right words...

Ralf

server?tcp.lewei50.com post?9960
JSON
{

"method": "update",

"gatewayNo": "",

"userkey": "userkey"

}&^!

I am sorry for my English.
I just want to sent JSON to server.
So that I can keep a TCP connect.
Could i use 'curl' to do that?
or i should use python?