go-engine icon indicating copy to clipboard operation
go-engine copied to clipboard

pingtunnel/server.go:136 icmp.ListenPacket does not work on Windows!

Open teamshmot opened this issue 3 years ago • 2 comments

please fix server.go to use RAW_SOCKETS (at least for the windows release) instead, and by that enable the functionality of setting up the server end on a windows machine. image image

teamshmot avatar Jan 26 '22 09:01 teamshmot

maybe you can try this https://github.com/golang/go/issues/38427#issuecomment-681825356 and if you test ok, you can create a pull request

esrrhs avatar Jan 27 '22 07:01 esrrhs

Yea I'm already testing with it but encountered a few problems with the processDataPacket function that localConn.conn is equal to nil and the program crashes, if you have time because you have a much deeper understanding of the code I would like you to deal with the problem <3

teamshmot avatar Jan 30 '22 13:01 teamshmot