Comments (4)
Hi! Thank you for pointing out this. Actually that page online is an error. The function does not exist and actually is quite useless so I will simply remove the online page and close this issue. Thank you!
from wifi101.
Hi,
I found this in the include, socket.h:
*/
NMI_API sint8 setsockopt(SOCKET socket, uint8 u8Level, uint8 option_name,
const void *option_value, uint16 u16OptionLen);
/** @} */
/** @defgroup GetSocketOptionsFn getsockopt
- @InGroup SocketAPI
- Get socket options retrieves
- This Function isn't implemented yet but this is the form that will be released later.
*/
David
From: Arturo Guadalupi [mailto:[email protected]]
Sent: 26 February 2016 09:38
To: arduino-libraries/WiFi101
Cc: drp0
Subject: Re: [WiFi101] Documented Library function WiFi.getSocket() does not exist (#37)
Hi! Thank you for pointing out this. Actually that page online is an error. The function does not exist and actually is quite useless so I will simply remove the online page and close this issue. Thank you!
—
Reply to this email directly or view it on GitHub #37 (comment) . https://github.com/notifications/beacon/ANHAGrxtYaegZx6xqlqwzCSTank1k4lXks5poBRpgaJpZM4Hjkcc.gif
from wifi101.
@drp0
I cannot see how the original WiFi.getSocket() function could be used in sketches, it looks like more an internal method not intended to be used as a public API. Can you provide a working example of getSocket()?
I'm not sure why it has been documented on the reference, IMHO it should be removed also from the old WiFi lib documentation, but maybe I'm missing something.
from wifi101.
Hi,
A working example of a non existant routine?
I note that the getSocket() link has now been removed from the WiFi101 library page https://www.arduino.cc/en/Reference/WiFi101
Has anyone had a look at #36 and can suggest a way forward?
Cheers,
David
From: Cristian Maglie [mailto:[email protected]]
Sent: 26 February 2016 11:09
To: arduino-libraries/WiFi101
Cc: drp0
Subject: Re: [WiFi101] Documented Library function WiFi.getSocket() does not exist (#37)
@drp0 https://github.com/drp0
I cannot see how the original WiFi.getSocket() function could be used in sketches, it looks like more an internal method not intended to be used as a public API. Can you provide a working example of getSocket()?
I'm not sure why it has been documented on the reference, IMHO it should be removed also from the old WiFi lib documentation, but maybe I'm missing something.
—
Reply to this email directly or view it on GitHub #37 (comment) . https://github.com/notifications/beacon/ANHAGt-afthprmDiTO2Tn5KNtDphoLxDks5poCm3gaJpZM4Hjkcc.gif
from wifi101.
Related Issues (20)
- Compiler warning about buffer overflow in firmwareVersion() HOT 1
- 'if' statement at WifiClient.cpp:149 is useless HOT 1
- Wifi101 doesn't work once add the freeRTOS library HOT 3
- AP mode with WPA
- Modernize CI system
- HTTPS to sites using LetsEncrypt certificates with MKR1000 fails HOT 1
- Progressively slower transmission and potential buffer handling issue. HOT 5
- AP SSID goes back to default wifi101-xxxx after re-entering provision mode
- Add GitHub Actions workflow to synchronise with shared repository labels
- WiFi.ping(ip) freezes mkr1000 if WiFiUdp.h included
- Infinite stall on WiFiWebServer sample / MKR 1000 HOT 1
- WiFiServer simple improvements
- WiFi.hostname("MKR1000") function has no effects
- Multiple compilation problems on ESP8266 HOT 4
- Library does not work with WINC1500 and Mega2560 HOT 9
- Adafruit Feather M0 WiFi with uFL - ATSAMD21 + ATWINC1500 - fw 19.4.4
- Tx Power Mode
- Turn on WiFi hardware once turned off with WiFi.end()
- MKR1000 no connection with SSL (https) HOT 1
- ATWINC1500 with WiFi101 with MQTT always leads to a dead connection after some time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifi101.