SignalK / signalk-server-java

DEPRECATED - see https://github.com/SignalK/signalk-java
Apache License 2.0
6 stars 9 forks source link

UDP connections must send at least a byte to be recognised #5

Closed rob42 closed 8 years ago

rob42 commented 9 years ago

When connecting to the UDP ports 5554/5556 the client must send at least one byte before the server will recognise the connection. This is due to the Netty nio UDP server implementation - I cant find a way to obtain a UDP connection event, just a UDP packet received event.

This does not apply to the TCP ports, they behave as expected.

Ideas welcome :-(

rob42 commented 8 years ago

This seems to be inherent in the UDP socket design, which does not provide connection events. Closing