Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
9a9ff622
Commit
9a9ff622
authored
Apr 15, 2019
by
me-no-dev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add connect with timeout to Client class
parent
3d6e4e1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cores/esp32/Client.h
cores/esp32/Client.h
+2
-0
No files found.
cores/esp32/Client.h
View file @
9a9ff622
...
...
@@ -28,6 +28,8 @@ class Client: public Stream
public:
virtual
int
connect
(
IPAddress
ip
,
uint16_t
port
)
=
0
;
virtual
int
connect
(
const
char
*
host
,
uint16_t
port
)
=
0
;
virtual
int
connect
(
IPAddress
ip
,
uint16_t
port
,
int
timeout
)
=
0
;
virtual
int
connect
(
const
char
*
host
,
uint16_t
port
,
int
timeout
)
=
0
;
virtual
size_t
write
(
uint8_t
)
=
0
;
virtual
size_t
write
(
const
uint8_t
*
buf
,
size_t
size
)
=
0
;
virtual
int
available
()
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment