Git Product home page Git Product logo

Comments (8)

errordeveloper avatar errordeveloper commented on May 21, 2024

I wonder why this is closed?
I'd really amazing to have UDP in vert.x :)

Actually, could it be implemented by simply wrapping around java.core.net.DatagramSocket or some sort of explicitly asynchronous implementation?

from vert.x.

luciferous avatar luciferous commented on May 21, 2024

Same question as above.

from vert.x.

menacher avatar menacher commented on May 21, 2024

Since vert.x uses Netty it can uses the Connectionless Bootstrap. I am unaware of Vert.x internals, but if it helps, here are few links from a game server I have published which shows Netty UDP code.
The UDP Server
Class using the datagram channel
Netty UDP Client

Ofcourse, Netty website itself has these stuff, what I wanted to point out is, that using a simple concurrenthashmap registry, and associating the UDP datagram channel with a session(which will have a tcp connection) it is possible for the same session to have both UDP and TCP transports and client/server can choose to send message over the respective transport using a Delivery Guaranty

from vert.x.

sigil66 avatar sigil66 commented on May 21, 2024

I was also curious about this.

from vert.x.

purplefox avatar purplefox commented on May 21, 2024

There's no reason why we can't do this. It's just there are a lot of other things on the TODO list as well.

I'll reopen the issue. If someone wants to take it on, please go ahead.

from vert.x.

dpacaud avatar dpacaud commented on May 21, 2024

Hi all,
is there a reason why this issue has been closed ?
has this been implemented ?

from vert.x.

alcoralcor avatar alcoralcor commented on May 21, 2024

I hope this feature still is in the TODO list. This would be perfect for communicating embedded hardware, low level applications, and mobile devices with low latency.
https://groups.google.com/d/topic/vertx/F6KEn9fCAM0/discussion

from vert.x.

normanmaurer avatar normanmaurer commented on May 21, 2024

It's on my to-do list

from vert.x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.