Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
SocketInterface.cpp@34:c17745683385, 2016-02-22 (annotated)
- Committer:
- Christopher Haster
- Date:
- Mon Feb 22 19:56:44 2016 -0600
- Branch:
- api-changes
- Revision:
- 34:c17745683385
- Parent:
- 31:7f15b95f2a1d
- Child:
- 38:157fb2ab965f
Added url/ip/port as optional arguments to open
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Christopher Haster |
23:1e86d9fb3d86 | 1 | /* SocketInterface Base Class |
| Christopher Haster |
23:1e86d9fb3d86 | 2 | * Copyright (c) 2015 ARM Limited |
| Christopher Haster |
23:1e86d9fb3d86 | 3 | * |
| Christopher Haster |
23:1e86d9fb3d86 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| Christopher Haster |
23:1e86d9fb3d86 | 5 | * you may not use this file except in compliance with the License. |
| Christopher Haster |
23:1e86d9fb3d86 | 6 | * You may obtain a copy of the License at |
| Christopher Haster |
23:1e86d9fb3d86 | 7 | * |
| Christopher Haster |
23:1e86d9fb3d86 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| Christopher Haster |
23:1e86d9fb3d86 | 9 | * |
| Christopher Haster |
23:1e86d9fb3d86 | 10 | * Unless required by applicable law or agreed to in writing, software |
| Christopher Haster |
23:1e86d9fb3d86 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| Christopher Haster |
23:1e86d9fb3d86 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| Christopher Haster |
23:1e86d9fb3d86 | 13 | * See the License for the specific language governing permissions and |
| Christopher Haster |
23:1e86d9fb3d86 | 14 | * limitations under the License. |
| Christopher Haster |
23:1e86d9fb3d86 | 15 | */ |
| Christopher Haster |
23:1e86d9fb3d86 | 16 | |
| Christopher Haster |
23:1e86d9fb3d86 | 17 | #include "SocketInterface.h" |
| geky | 31:7f15b95f2a1d | 18 | |
| Christopher Haster |
28:163fbe3263f4 | 19 | void SocketInterface::setIPAddress(const char *ip) {} |
| Christopher Haster |
28:163fbe3263f4 | 20 | void SocketInterface::setPort(uint16_t port) {} |
| Christopher Haster |
23:1e86d9fb3d86 | 21 |
