Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Add node support for UDP #11

Open
Hywan opened this issue Sep 11, 2014 · 6 comments
Open

Add node support for UDP #11

Hywan opened this issue Sep 11, 2014 · 6 comments

Comments

@Hywan
Copy link
Member

Hywan commented Sep 11, 2014

Hello :-),

This issue is the next episode of this one #10.

@Hywan Hywan added the bug label Sep 11, 2014
@Hywan Hywan self-assigned this Sep 11, 2014
@Hywan
Copy link
Member Author

Hywan commented Sep 11, 2014

Normally we should even revert #10 when this issue will be fixed.

@Pierozi
Copy link
Member

Pierozi commented Feb 20, 2015

Hello :)

If we want implement Node for UDP, that require to make ourself an ACK between server & client.
Because like UDP are connectionless, we need send data in socket if we want know new client or know if client timeout.

First problem is, that mean client need use same ACK protocol, and like Hoa is oriented Library, I don't know if is right place. Because in lot of time, UDP client will not be write with Hoa.

@Hywan
Copy link
Member Author

Hywan commented Feb 20, 2015

What is ACK?

@Pierozi
Copy link
Member

Pierozi commented Feb 20, 2015

Ack (acknowledgement) signal in TCP/IP.
After some explication on IRC, we don't need handle same node system as TCP, we can limited select as an iterator of UDP client without register node in internal stack.

In same time we discover as we can't specify remote when we want write.
The remote of last read are selected by default.
https://github.com/hoaproject/Socket/blob/master/Connection/Connection.php#L858

I can write a PR.

@Hywan Hywan added enhancement and removed bug labels Apr 13, 2015
@Hywan
Copy link
Member Author

Hywan commented Apr 13, 2015

ping?

@Hywan
Copy link
Member Author

Hywan commented Mar 19, 2016

ping?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants