File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
core/src/commonMain/kotlin/digital/guimauve/koxxy Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ koxxy is published to Maven Central. Add the dependency to your `build.gradle.kt
12
12
13
13
``` kotlin
14
14
dependencies {
15
- implementation(" digital.guimauve.koxxy:core:0.1 .0" )
15
+ implementation(" digital.guimauve.koxxy:core:1.0 .0" )
16
16
}
17
17
```
18
18
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
5
5
6
6
allprojects {
7
7
group = " digital.guimauve.koxxy"
8
- version = " 0.1 .0"
8
+ version = " 1.0 .0"
9
9
10
10
repositories {
11
11
mavenCentral()
Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ internal class Socks5ProxyServer(
56
56
57
57
// Read request
58
58
val req = input.readNBytes(4 )
59
- val cmd = req[1 ].toInt()
60
- val atyp = input.read()
59
+ val atyp = req[3 ].toInt()
61
60
62
61
val destHost = when (atyp) {
63
62
0x01 -> InetAddress .getByAddress(input.readNBytes(4 )).hostAddress // IPv4
You can’t perform that action at this time.
0 commit comments