Tests for BSDInterface
Dependencies: BSDInterface NetworkSocketAPI NSAPITests
main.cpp@4:53abe3b28740, 2016-03-03 (annotated)
- Committer:
- bridadan
- Date:
- Thu Mar 03 21:19:31 2016 +0000
- Revision:
- 4:53abe3b28740
- Parent:
- 3:b0f9303ec5d1
Updating dependencies and fixing main function
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Christopher Haster |
2:3515c4f23398 | 1 | /* NetworkSocketAPI Example Program |
Christopher Haster |
2:3515c4f23398 | 2 | * Copyright (c) 2015 ARM Limited |
Christopher Haster |
2:3515c4f23398 | 3 | * |
Christopher Haster |
2:3515c4f23398 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Christopher Haster |
2:3515c4f23398 | 5 | * you may not use this file except in compliance with the License. |
Christopher Haster |
2:3515c4f23398 | 6 | * You may obtain a copy of the License at |
Christopher Haster |
2:3515c4f23398 | 7 | * |
Christopher Haster |
2:3515c4f23398 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Christopher Haster |
2:3515c4f23398 | 9 | * |
Christopher Haster |
2:3515c4f23398 | 10 | * Unless required by applicable law or agreed to in writing, software |
Christopher Haster |
2:3515c4f23398 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Christopher Haster |
2:3515c4f23398 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Christopher Haster |
2:3515c4f23398 | 13 | * See the License for the specific language governing permissions and |
Christopher Haster |
2:3515c4f23398 | 14 | * limitations under the License. |
Christopher Haster |
2:3515c4f23398 | 15 | */ |
Christopher Haster |
2:3515c4f23398 | 16 | |
Christopher Haster |
2:3515c4f23398 | 17 | #include "BSDInterface.h" |
Christopher Haster |
2:3515c4f23398 | 18 | #include "NSAPITests.h" |
Christopher Haster |
2:3515c4f23398 | 19 | |
Christopher Haster |
2:3515c4f23398 | 20 | BSDInterface iface; |
Christopher Haster |
2:3515c4f23398 | 21 | |
Christopher Haster |
2:3515c4f23398 | 22 | int main() |
Christopher Haster |
2:3515c4f23398 | 23 | { |
bridadan | 4:53abe3b28740 | 24 | return nsapi_tests("BSDInterface Tests", &iface, "127.0.0.1", 4000); |
Christopher Haster |
2:3515c4f23398 | 25 | } |