Tests for BSDInterface

Dependencies:   BSDInterface NetworkSocketAPI NSAPITests

Committer:
Brian Daniels
Date:
Wed Mar 02 16:17:32 2016 -0600
Revision:
3:b0f9303ec5d1
Parent:
2:3515c4f23398
Child:
4:53abe3b28740
Adding parameters for test server ports and ip

Who changed what in which revision?

UserRevisionLine numberNew 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 {
Brian Daniels 3:b0f9303ec5d1 24 return nsapi_tests("BSDInterface Tests", &iface, "127.0.0.1", 4000, 4001);
Christopher Haster 2:3515c4f23398 25 }