Skip to content

Commit

Permalink
Address issue #81 in the 0.8.0 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Dec 12, 2019
1 parent 41d2e77 commit 359534a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/_SOURCE/0.7.x/fio.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,14 @@ The following arguments are supported:
// callback example:
void on_connect(intptr_t uuid, void *udata);

* `on_connect`:
* `on_fail`:

This callback will be called when a socket fails to connect. It's often a good place for cleanup.

The callback should accept the attempted connection's uuid (might be -1) and a void pointer (the optional `udata` pointer one passed to `fio_connect`)

// callback example:
void on_connect(intptr_t uuid, void *udata);
void on_fail(intptr_t uuid, void *udata);


* `udata`:
Expand Down
4 changes: 2 additions & 2 deletions docs/_SOURCE/0.8.x/fio.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,14 @@ The following arguments are supported:
// callback example:
void on_connect(intptr_t uuid, void *udata);

* `on_connect`:
* `on_fail`:

This callback will be called when a socket fails to connect. It's often a good place for cleanup.

The callback should accept the attempted connection's uuid (might be -1) and a void pointer (the optional `udata` pointer one passed to `fio_connect`)

// callback example:
void on_connect(intptr_t uuid, void *udata);
void on_fail(intptr_t uuid, void *udata);


* `udata`:
Expand Down

0 comments on commit 359534a

Please sign in to comment.