-set socket options before “socket.bind” -listen for incoming SOCK_STREAM connections only before “socket.accept” resolves ubuntu errors.
Fork of NSAPITests by
Diff: NSAPITests.h
- Revision:
- 2:41bf867fedd2
- Parent:
- 1:796ba8b082b1
- Child:
- 3:8b595ee6219d
--- a/NSAPITests.h Thu Feb 25 12:38:05 2016 -0600 +++ b/NSAPITests.h Wed Mar 02 13:24:46 2016 -0600 @@ -20,5 +20,6 @@ #include "NetworkInterface.h" int nsapi_tests(const char *name, NetworkInterface *iface); +int nsapi_run_test(const char *name, NetworkInterface *iface, int (*test)(NetworkInterface*)); #endif