go-siris / siris

DEPRECATED: The community driven fork of Iris. The fastest web framework for Golang!
Other
142 stars 16 forks source link

Windows 10 socket TCP socket issue #28

Closed Allendar closed 7 years ago

Allendar commented 7 years ago

OS: Windows 10 Go: 1.8.3 64bit Siris: 7.3.0

A friend of mine is trying to help me with my project and he's on Windows. Suddenly since the transfer from Iris to Siris he gets the following error:

.../github.com/go-siris/siris/vendor/gopkg.in/go-siris/tcplisten.v1
vendor\github.com\go-siris\siris\vendor\gopkg.in\go-siris\tcplisten.v1\socket.go:22: cannot use fd (type syscall.Handle) as type int in return argument

He temporarily hard-edited the file to return 1, nil instead of fd, nil and that works.

Maybe it has to do something with these old threads?

https://groups.google.com/forum/#!msg/golang-dev/_ITOGl9eoxQ/Gj0kITirqmEJ https://codereview.appspot.com/4600042/

Dexus commented 7 years ago

Please update to siris 7.3.4

Von meinem iPhone gesendet

Am 03.07.2017 um 12:44 schrieb Allendar notifications@github.com:

OS: Windows 10 Go: 1.8.3 64bit Siris: 7.3.0

A friend of mine is trying to help me with my project and he's on Windows. Suddenly since the transfer from Iris to Siris he gets the following error:

.../github.com/go-siris/siris/vendor/gopkg.in/go-siris/tcplisten.v1 vendor\github.com\go-siris\siris\vendor\gopkg.in\go-siris\tcplisten.v1\socket.go:22: cannot use fd (type syscall.Handle) as type int in return argument He temporarily hard-edited the file to return 1, nil instead of fd, nil and that works.

Maybe it has to do something with these old threads?

https://groups.google.com/forum/#!msg/golang-dev/_ITOGl9eoxQ/Gj0kITirqmEJ https://codereview.appspot.com/4600042/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Allendar commented 7 years ago

He tried 7.3.3 (latest release), but still the same error. I sadly don't have a Windows machine near me to test.

Dexus commented 7 years ago

I try to find the issue, i make now a clean install and come back to this issue.

Dexus commented 7 years ago

Please try to update to the last siris v7.3.4

Goosterhof commented 7 years ago

I updated to last version and it works!

Dexus commented 7 years ago

So we can close here?

Goosterhof commented 7 years ago

yeah, thnx for the fix!