Skip to content
Permalink
Browse files

Merge pull request #467 from dougalcampbell/patch-1

Use `hostname` instead of `URL` terminology
  • Loading branch information...
technobly committed Sep 18, 2016
2 parents 4d75a59 + 1b667e5 commit fd24a4dd5b74af685f94a77a66f47883d9b25092
Showing with 2 additions and 2 deletions.
  1. +2 −2 firmware.md
@@ -4587,13 +4587,13 @@ Connects to a specified IP address and port. The return value indicates success
// SYNTAX
client.connect();
client.connect(ip, port);
client.connect(URL, port);
client.connect(hostname, port);
```
Parameters:
- `ip`: the IP address that the client will connect to (array of 4 bytes)
- `URL`: the domain name the client will connect to (string, ex.:"particle.io")
- `hostname`: the host name the client will connect to (string, ex.:"particle.io")
- `port`: the port that the client will connect to (`int`)
Returns true if the connection succeeds, false if not.

0 comments on commit fd24a4d

Please sign in to comment.
You can’t perform that action at this time.