Skip to content

Udp support seems to be out of date? #12

@jscott1989

Description

@jscott1989

Trying to set up a Udp server, using:

import hxnet.base.Factory;
import hxnet.udp.Server;

var server = new Server(new Factory(hxnet.protocols.Telnet), 5959, "localhost");

I get the errors:

/usr/local/lib/haxelib/hxnet/git/hxnet/udp/Server.hx:72: characters 5-28 : hxnet.interfaces.Protocol has no field makeConnection (Suggestion: loseConnection)
/usr/local/lib/haxelib/hxnet/git/hxnet/udp/Connection.hx:10: lines 10-49 : Field isOpen needed by hxnet.interfaces.Connection is missing
/usr/local/lib/haxelib/hxnet/git/hxnet/udp/Connection.hx:18: lines 18-40 : Field writeBytes has different type than in hxnet.interfaces.Connection
/usr/local/lib/haxelib/hxnet/git/hxnet/udp/Connection.hx:18: lines 18-40 : Different number of function arguments
/usr/local/lib/haxelib/hxnet/git/hxnet/udp/Server.hx:19: lines 19-97 : Field broadcast needed by hxnet.interfaces.Server is missing

Is it just that the udp classes haven't kept up to date and are no longer usable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions