How to compile SocketApp - Sample PC network Application

Discussion about any of the included sketches (i.e. WebServer), or user-generated applications.

How to compile SocketApp - Sample PC network Application

Postby davidlowjw » Thu Nov 18, 2010 5:46 pm

I encounter some problem while trying out the SocketApp sketch; I couldn't get the "Sample PC network application" to work.
http://asynclabs.com/wiki/index.php?title=SocketApp_sketch

I tried using codeblocks and download a library contain "arpa/inet.h".
It compiled but couldn't be built and run. :?

Error as below
Code: Select all
undefined reference to 'htons@4'
undefined reference to 'inet_pton'
undefined reference to 'socket@12'
undefined reference to 'connect@12'
undefined reference to 'recv@16'
undefined reference to 'send@16'
davidlowjw
 
Posts: 5
Joined: Sun Nov 07, 2010 11:01 pm

Return to Sketches and Applications

Who is online

Users browsing this forum: No registered users and 2 guests

cron