EsotericSoftware / EsotericSoftware/kryonet

Discovery broken out of the box

Open
#30 7 comments 0 reactions 0 assignees View on GitHub
bug imported Priority-Medium
Dominant language
Java
Stars
1.9k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

_From [golgo...@gmail.com](https://code.google.com/u/108569469378050744222/) on December 29, 2012 23:19:58_

What steps will reproduce the problem?
1. Download the latest .zip
2. Using the all jar.
3. Just run the discovery code copy pasted from the front page of this project. First run server, then run client. The client immediately throws an exception.

What is the expected output? What do you see instead?
This code should work out of the Box

What version of the product are you using? On what operating system?
Kronet 2.20
Mac OSx 10.8

Please provide any additional information below.
Immediately get this error on the client.

00:00 ERROR: [kryonet] Host discovery failed.
java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at com.esotericsoftware.kryonet.Client.broadcast(Client.java:412)
at com.esotericsoftware.kryonet.Client.discoverHost(Client.java:428)
at DiscoveryClient.main(DiscoveryClient.java:15)
null

_Original issue: http://code.google.com/p/kryonet/issues/detail?id=29_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.