<!DOCTYPE html>
<html>
<head><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--<metahttp-equiv="Content-Type" content="text/html; charset=utf-8" data-cafe-userdata="true">--><!--<metaname="Generator" content="Microsoft Word 14 (filtered medium)" data-cafe-userdata="true">-->
<meta class="cui-content-default" http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
#cafe-note-contents p.MsoNormal {
margin-left:7.5pt;}

</style><style type="text/css">
<!--
#cafe-note-contents p.MsoNormal,#cafe-note-contents li.MsoNormal,#cafe-note-contents div.MsoNormal {
mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
h1 {
mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h3 {
mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h4 {
mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h5 {
mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h6 {
mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:7.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link,#cafe-note-contents span.MsoHyperlink {
mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited,#cafe-note-contents span.MsoHyperlinkFollowed {
mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p {
mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
#cafe-note-contents span.Heading1Char {
mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
#cafe-note-contents span.Heading3Char {
mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
#cafe-note-contents span.Heading4Char {
mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;
        font-style:italic;}
#cafe-note-contents span.Heading5Char {
mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Cambria","serif";
        color:#243F60;}
#cafe-note-contents span.Heading6Char {
mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Cambria","serif";
        color:#243F60;
        font-style:italic;}
#cafe-note-contents span.EmailStyle23 {
mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#0000CC;}
#cafe-note-contents .MsoChpDefault {
mso-style-type:export-only;
        font-size:10.0pt;}
#cafe-note-contents div.WordSection1 {
page:WordSection1;}

-->
</style><style class="cui-content-default" data-cafe-default="true">body {display:block;word-wrap:break-word;margin:10px;}*{word-wrap:break-word;}ul,ol{margin:0;}li,p{line-height:1.9;margin:0 auto;}table.cui-div{width:100%;display:block;}table.cui-div > tbody{display:block;}table.cui-div > tbody > tr{display:block;}table.cui-div > tbody > tr > th,table.cui-div > tbody > tr > td{display:block;}#cafe-note-contents [data-cui-alt-image]{background:#c1c1c1 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAUCAYAAACJfM0wAAABH0lEQVQ4jbXU26qEIBQGYF+wtxLMgg4QdGdBREUhFEFBBx/tn6sGpcPezTTCAi/0Q11rSQghhDGGJ4P8An3j20QIgSzLvookSfawUgrrukIp9VVcwkIIcM7h+z66rnsGbprGeCvf95+B8zw3YM75M/A4jnAcB3pS9Y3zPKPv+0vYKDf9jcdxRJ7naJrG2DRNE8IwBGMMZVkewmQbOnwVy7IgiqL3TWzbRtu2x+gVnKYpXNdF27ZY1xVxHO+awHVdDMMAKaWJnsFZlhkn8zzvtMOCIACl1No8Sqm1S55SCkVR3GrdI3QH13V9/7PRxmG5SSlh2/bHKGMMVVXtYc75bZRSaunX1w92+9vUT6mju3WfJuqvv/zf8FmZXq7/BfoCA1VRsvK4AfgAAAAASUVORK5CYII=") no-repeat center;}table tr:not(:first-child) td[colspan],_:-ms-lang(x){border-top-style:none\9 !important;}table tr:not(:first-child) th[colspan],_:-ms-lang(x){border-top-style:none\9 !important;}</style>
<style class="cui-content-default" data-user-config="true">body {margin: 10px;font-size: 10pt;font-family:'맑은 고딕'; line-height:1.9;}
p,li,h1,h2 h3,h4,h5,h6 { line-height:1.9;}
</style></head>
<body><p><span style="font-family: 굴림; font-size: 10pt;">It's somewhat unclear what you want. Anyway, we do not have something like "Tizen:Server" and you want to communicate between "Tizen:Mobile" and a server, you might just want to use the standard protocols. If the protocol is going to be web-based, why don't you try <a href="https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__WEB__FRAMEWORK.html">https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__WEB__FRAMEWORK.html</a><br><br>If what you want is server-created messages, you may be interested in: </span></p>
<p><span style="font-family: 굴림; font-size: 10pt;"><a href="https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__MESSAGING__PUSH__PUBLIC__MODULE.html">https://developer.tizen.org/development/api-references/native-application?redirect=https://developer.tizen.org/dev-guide/2.4.0/org.tizen.native.mobile.apireference/group__CAPI__MESSAGING__PUSH__PUBLIC__MODULE.html</a></span></p>
<p><span style="font-family: 굴림; font-size: 10pt;"></span><br></p>
<p><span style="font-family: 굴림; font-size: 10pt;">The native API reference in tizen.org doesn't look that bad even for a kernel developer who has never implemented a mobile app, yet. :)</span></p>
<p><span style="font-family: 굴림; font-size: 10pt;"></span><br></p>
<p><span style="font-family: 굴림; font-size: 10pt;">Cheers,</span></p>
<p><span style="font-family: 굴림; font-size: 10pt;">MyungJoo</span></p>
<p>--------- <b>Original Message</b> ---------</p>
<p><b>Sender</b> : PINTU AGARWAL <pintu.k@samsung.com> Principal Engineer/SRI-Bangalore-Kernel & BSP/삼성전자</p>
<p><b>Date</b>   : 2017-05-25 18:17 (GMT+9)</p>
<p><b>Title</b>  : [Dev] FW: Tizen 3.0 common wifi socket client-server communication</p>
<p> </p>
<!--[if mso 9]--><!--[endif]--><p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>** On behalf of Akshit & Vivek **<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'><!--o:p--> <!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>Hello Tizen Dev team,<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>I have 2 college interns in my team. They are trying to build wifi client/server based socket communication using Tizen API, to communication between 2 devices.<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>One device contains Tizen 3.0 common (headless).<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>Another device is Z2 with Tizen 2.4<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>They were able to achieve this using normal TCP Linux socket APIs.<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>But, they want to develop a Tizen App (using Tizen studio) on Z2, using the Tizen wifi Native APIs.<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>We could not the proper Wi-Fi API for send/receive data between 2 devices.<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>If there is any reference or sample source code please let us know.<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'><!--o:p--> <!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'><!--o:p--> <!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'>Thanks<!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='color: rgb(0, 0, 204); font-family: "Calibri","sans-serif"; font-size: 10pt;'><!--o:p--> <!--/o:p--></span></p>
<table class="cui-div" style="border-collapse: collapse;"><colgroup><col></colgroup><tbody><tr><td style="padding: 0in 0in 0in 4pt; border-image: none; border-left-color: blue; border-left-width: 1.5pt; border-left-style: solid;"><table class="cui-div" style="border-collapse: collapse;"><colgroup><col></colgroup><tbody><tr><td><table class="cui-div" style="border-collapse: collapse;"><colgroup><col></colgroup><tbody><tr><td style="padding: 3pt 0in 0in; border-image: none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; border-top-style: solid;"><p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'>From:</span></b><span style='font-family: "Tahoma","sans-serif"; font-size: 10pt;'> Akshit Gandhi [mailto:akshit.a1@partner.samsung.com] <br><b>Sent:</b> Thursday, May 25, 2017 12:22 PM<br><b>To:</b> PINTU AGARWAL<br><b>Subject:</b> [Dev] Tizen 3.0 common wifi socket client-server communication<!--o:p--><!--/o:p--></span></p>
</td></tr></tbody></table></td></tr></tbody></table><p class="MsoNormal"><!--o:p--> <!--/o:p--></p>
<p><span style='font-family: "Arial","sans-serif"; font-size: 10pt;'>Hello Everyone,<!--o:p--><!--/o:p--></span></p>
<p><span style='font-family: "Arial","sans-serif"; font-size: 10pt;'>Can anyone give me some guide/reference for making a tizen app (client+server) using WiFi sockets as a communication method. I have done it using Linux API's but now I want to do it with Tizen Native API's.<!--o:p--><!--/o:p--></span></p>
<p><span style='font-family: "Arial","sans-serif"; font-size: 10pt;'> <!--o:p--><!--/o:p--></span></p>
<p><span style='font-family: "Arial","sans-serif"; font-size: 10pt;'> <!--o:p--><!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style='font-family: "Arial","sans-serif"; font-size: 10pt; display: none;'><!--o:p--> <!--/o:p--></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><!--o:p--> <!--/o:p--></p>
</td></tr></tbody></table><p>_______________________________________________</p>
<p>Dev mailing list</p>
<p>Dev@lists.tizen.org</p>
<p>https://lists.tizen.org/listinfo/dev</p>
<p> </p>
<p> </p>
<p>--</p>
<p><span style="font-size: 9pt;">MyungJoo Ham (함명주), Ph.D.</span></p>
<p><span style="font-size: 9pt;">Developer eXperience Lab, S/W Platform Team, Software R&D Center<br>Samsung Electronics<br>Cell: +82-10-6714-2858</span></p>
<table id=bannersignimg><tr><td><p> </p>
</td></tr></table><table id=confidentialsignimg><tr><td><p><img style="border: 0px solid currentColor; border-image: none; width: 520px; height: 144px; display: inline-block;" unselectable="on" data-cui-image="true" src="cid:20170525115930_0@epcms1p"> </p>
</td></tr></table></body>
</html><img src='http://ext.samsung.net/mail/ext/v1/external/status/update?userid=myungjoo.ham&do=bWFpbElEPTIwMTcwNTI1MTE1OTMwZXBjbXMxcDIyMTQ4ZWEyOWE5ZjY0YWNkYzdmYjAyMDg2ZmM0ZDM2OCZyZWNpcGllbnRBZGRyZXNzPWRldkBsaXN0cy50aXplbi5vcmc_' border=0 width=0 height=0 style='display:none'>