I have been using Go/Golang for a while. Every time I need to compile code I simply type go run *.go
into Git bash. When I needed to terminate I used CTRL+C
. And if I need to compile again I would use the same command go run *.go
. Recently for some reason when I press CTRL+C
it shows as if it terminated,but when I write again go run *.go
it complains by saying Only one usage of each socket address (protocol/network address/port) is normally permitted.
. And I open task manager and see on main.exe
is on background processes. I end by hand and call this again it works. How can fix that so it terminates as before when I click on CTRL+C
?
错误:每个套接字地址通常只能使用一种
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
0条回答 默认 最新
悬赏问题
- ¥15 关于#hadoop#的问题
- ¥15 (标签-Python|关键词-socket)
- ¥15 keil里为什么main.c定义的函数在it.c调用不了
- ¥50 切换TabTip键盘的输入法
- ¥15 可否在不同线程中调用封装数据库操作的类
- ¥15 微带串馈天线阵列每个阵元宽度计算
- ¥15 keil的map文件中Image component sizes各项意思
- ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
- ¥15 划分vlan后,链路不通了?
- ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据