<div dir="ltr"><div><div><div><div>Thank you all  for the quick response.<br></div>Unfortunately I'm still having some trouble.<br><br></div>This is what I have so far ( Its a lil messy but just for testing it should work )<br>
</div>This is based on the Client implementation:<br>
<a href="http://cgit.osmocom.org/gr-osmosdr/tree/lib/rtl_tcp/rtl_tcp_source_f.cc#n275" target="_blank">http://cgit.osmocom.org/gr-osmosdr/tree/lib/rtl_tcp/rtl_tcp_source_f.cc#n275</a><br>
<br><br></div><div><div>#define COMM_SET_FREQ ((unsigned char) 0x01)<br>struct command{<br>        unsigned char cmd;<br>        unsigned int param;<br>};<br>    unsigned char cmds;<br>    int iFreq = 500000000;<br>    cmds = COMM_SET_FREQ;<br>
    struct command cmd = {cmds, htonl(iFreq)};<br><br>answer = send(sConnect, (const char*)&cmd, sizeof(cmd), 0);<br><br><br></div>and the response is :<br><br>client accepted!<br>set freq -858993635<br>ll+, now 1<br>
ll+, now 2<br>ll+, now 3<br><br></div><div>I'm sure I'm missing something I just don't know what.<br></div><div><br></div><div>Thanks <br></div><div><div><br> </div></div></div>