Languages

Menu
Sites
Language
Native Application에서 TCP Socket 통신을 할 방법이 있을까요?

지금 현재 Gear Fit2로 PC와 통신하는 프로그램을 만들고 있습니다.

PC에서 돌아가는 Server는 C#으로 짜져있고 C로 짠 Client가 정상적으로 동작하는 것을 확인하였습니다.

 

하지만 C로 짠 소스를 그대로 Tizen Studio에서 작업해서 실행하면 동작하지 않는 일이 발생하네요.

혹시 Tizen에서 TCP 통신을 할 수 있는 방법이 있을까요?

Responses

2 Replies
K Johnson

Hello Joan Park,

So far I could understand from your post is that, you're trying to send and get message between server and Gear device. In this scenario, you may try following this link. If you go through Creating the Client-side Socket and Managing the Remote Host Connection section then you'll find code to create socket, connect to remote host(server), send and read messages from that.

Joan Park

Thank you for your response!!