- ๐จโ๐ป Fluent in Python, C, C++, Java, and Javascript
- ๐ B.S. Computer Science & Economics, Rensselaer Polytechnic Institute (RPI)
- ๐ป Linux
My resume
An experimental UDP extension for the LibGDX library. Can easily be ported to other libraries.
License: Apache License 2.0
My resume
I'm having problems running the tests.Any help?
The library should include support for a P2P system that supports cross-platform match creation and discovery on a local network.
First, I realize this project is 3 years old and I also appreciate what you're doing here, so take these comments as constructive criticism. I was going to try this API, but I found too much inaccuracy in the documentation and API.
Packet
. Some of them check for null
on the input, others have side effects like calling close on input streams, others do not. Why?readDouble
) return boxed types like Double
when the underlying DataInputStream
actually returns unboxed primitives?this
alternatively within methods? Have a look at readDatagram
, which doesn't at first and then does.UDPManager
is arguably misnamed, as it isn't a UDP Manager at all. If anything, it's a single UDP socket manager, but it's hardly that. It's a place for the user to implement, so by java standards it's really a UDPFactory
.In the documentation, I take issue with improper reasons listed for throwing exceptions. For example, Packet::createDatagram
claims to throw an IOException
:
@throws IOException If there was an error retrieving the data */
But why is a method dedicated to creating datagrams doing any "retrieving of data"? If you look at the implementation, it actually isn't. It's calling flush
on a DataOutputStream
, so if anything, it's writing data.
I suggest you carefully review this file, as it contains many such inaccuracies which are confusing for someone trying to use this API.
The port parameter is listed as The port of the server you want to connect to
, in reality this should probably be a different port, otherwise both client and server cannot run on the same machine.
The server port should be provided as part of a datagram sent through the client.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.