Skip to content

Commit 77473d8

Browse files
committed
Small changes
1 parent 2be1c8e commit 77473d8

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

README.markdown

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Exceptions are using the log level `ERROR` and debug logging will be done with l
5151

5252
Feel free to use whichever logging framework you desire and use the corresponding [binding](https://mvnrepository.com/artifact/org.slf4j) in your dependency management.
5353

54-
If you want to get started, take a look at the SimpleLogger example.
54+
If you want to get started, take a look at the SimpleLogger [example](https://github.com/TooTallNate/Java-WebSocket/wiki/SimpleLogger-example).
5555

5656
### Standalone jar
5757

@@ -115,34 +115,6 @@ Minimum Required JDK
115115

116116
Other JRE implementations may work as well, but haven't been tested.
117117

118-
119-
Testing in Android Emulator
120-
---------------------------
121-
122-
Please note Android Emulator has issues using `IPv6 addresses`. Executing any
123-
socket related code (like this library) inside it will address an error
124-
125-
``` bash
126-
java.net.SocketException: Bad address family
127-
```
128-
129-
You have to manually disable `IPv6` by calling
130-
131-
``` java
132-
java.lang.System.setProperty("java.net.preferIPv6Addresses", "false");
133-
java.lang.System.setProperty("java.net.preferIPv4Stack", "true");
134-
```
135-
136-
somewhere in your project, before instantiating the `WebSocketClient` class.
137-
You can check if you are currently testing in the Android Emulator like this
138-
139-
``` java
140-
if ("google_sdk".equals( Build.PRODUCT )) {
141-
// ... disable IPv6
142-
}
143-
```
144-
145-
146118
License
147119
-------
148120

0 commit comments

Comments
 (0)