-set socket options before “socket.bind” -listen for incoming SOCK_STREAM connections only before “socket.accept” resolves ubuntu errors.
Fork of NSAPITests by
NSAPITests.cpp@1:796ba8b082b1, 2016-02-25 (annotated)
- Committer:
- Christopher Haster
- Date:
- Thu Feb 25 12:38:05 2016 -0600
- Revision:
- 1:796ba8b082b1
- Child:
- 2:41bf867fedd2
Added framework for tests
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Christopher Haster |
1:796ba8b082b1 | 1 | #include "NetworkInterface.h" |
Christopher Haster |
1:796ba8b082b1 | 2 | |
Christopher Haster |
1:796ba8b082b1 | 3 | int nsapi_tests(const char *name, NetworkInterface *iface) |
Christopher Haster |
1:796ba8b082b1 | 4 | { |
Christopher Haster |
1:796ba8b082b1 | 5 | |
Christopher Haster |
1:796ba8b082b1 | 6 | |
Christopher Haster |
1:796ba8b082b1 | 7 | } |
Christopher Haster |
1:796ba8b082b1 | 8 |