<div>I have copied and pasted the example from url below and tried to compile it and it always fails with this error:</div><div>/home/micah/Documents/C++/Socket_fun/Socket_fun/src/main.cpp|5|error: ‘sock’ does not name a type|</div>

<div><br></div><div>I have the latest version installed, and I have the paths set up correctly.</div><br clear="all"><div><a href="http://www.infradead.org/~tgr/libnl/doc/api/group__genl.html">http://www.infradead.org/~tgr/libnl/doc/api/group__genl.html</a></div>

<div><br></div><div><br></div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>