Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JJoac3
Beginner
1,065 Views

C++ socket client

Jump to solution

Hi all, I evaluate the practicability of the Intel Edison for a measurement application. We can't use a public Network / cloud.

1. It would be helpful to install an own (simple) tcp client, preferably in c ++.

Is there any experience or example (code ect.) ?

2. It would still be necessary to link some Intel Edison boards as clients with each other (in an own net).

Is this feasible? Is there an example (code ect.) ?

Thanks for the help!

jofeier

 

0 Kudos
1 Solution
idata
Community Manager
84 Views

Hi Jofeier,

 

 

Thank you for contacting us.

 

 

About your first question, I recommend you to check the following links:

 

 

http://www.binarytides.com/code-a-simple-socket-client-class-in-c/

 

http://www.linuxhowtos.org/C_C++/socket.htm

 

 

I hope you find them helpful, regarding to link some Edison boards as clients with each other, I think it is possible and I found this document that can be useful for you: https://communities.intel.com/docs/DOC-109932 https://communities.intel.com/docs/DOC-109932.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo

View solution in original post

5 Replies
idata
Community Manager
85 Views

Hi Jofeier,

 

 

Thank you for contacting us.

 

 

About your first question, I recommend you to check the following links:

 

 

http://www.binarytides.com/code-a-simple-socket-client-class-in-c/

 

http://www.linuxhowtos.org/C_C++/socket.htm

 

 

I hope you find them helpful, regarding to link some Edison boards as clients with each other, I think it is possible and I found this document that can be useful for you: https://communities.intel.com/docs/DOC-109932 https://communities.intel.com/docs/DOC-109932.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo

View solution in original post

JJoac3
Beginner
84 Views

Hi Leonardo, thank you very much for the quick response .

I had found something similar. I was not sure if there was a conflict with the operating system of the Edison,

when I install my own socket driver.

Anyway, i will start a test....

Another thing - which distance can bridge the edison per wifi (with antenna, freefield) ?

Thank you and greetings

jofeier

idata
Community Manager
84 Views

Hi Jofeier,

 

 

The Edison Wi-Fi module uses the standard protocol, so you can find helpful information here: https://www.lifewire.com/range-of-typical-wifi-network-816564.

 

 

Personally, I recommend you to don't exceed the distance of 30 m to avoid issues losing data.

 

 

Regards,

 

-Leonardo

 

JJoac3
Beginner
84 Views

Hi Leonardo,

I bought an Intel Edison, i have tested something - it works fine. (iss + eclipse + Win10)

I have realized a wifi connectionto to an other PC (not the development PC) - it works also correct.

(but this connection uses a router....)

Next I would like to realize a wifi-direct Connection (with no router and no AP).

I think, the initialization of the Edison must be changed in this case.

(Is the 2nd wifi connection to the development System still available additionally ?)

The next step should be the connection of 2 edison's on this way. (wifi Direct)

I hope there is a helpful link again. :-))

Thanks and Regards,

jofeier

idata
Community Manager
84 Views

Hi Jofeier,

 

 

The second Wi-Fi connection won't be available once you have connected the 2 Edison using Wi-Fi Direct. At this time the most helpful link is the same that I gave you before: https://communities.intel.com/docs/DOC-109932 https://communities.intel.com/docs/DOC-109932.

 

 

Have a nice day.

 

 

Regards,

 

-Leonardo
Reply