Browse Source

split to parts for sockets

master
Martin/Geno 3 years ago
parent
commit
f42ec9e116
No known key found for this signature in database GPG Key ID: 9D7D3C6BFF600C6A
  1. 2
      main.go

2
main.go

@ -54,7 +54,7 @@ func main() {
pixelmatrix = getPart(pixelmatrix, partCount, partTotal, partBegin)
for s := 0; s < socketCount; s++ {
conn := createSocket(pixelmatrix)
conn := createSocket(getPart(pixelmatrix, 1, socketCount, s))
defer conn.Close()
}

Loading…
Cancel
Save