Skip to content

Commit

Permalink
log level
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyko committed Jan 2, 2022
1 parent 716a819 commit da697da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gosof_tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (h *Server) InitTcpServer(network string, ip string, port uint16) error {
// --> use parameter.
func (h *Server) InitTcpServerListenConfig(network string, ip string, port uint16, lc *net.ListenConfig) error {
// network : "tcp", "tcp4", "tcp6"
log.SetFlags(log.Llongfile)
//log.SetFlags(log.Llongfile)
connStr := fmt.Sprintf("%s:%d", ip, port)
_, h.GosofErr = net.ResolveTCPAddr(network, connStr)
if h.GosofErr != nil {
Expand Down

0 comments on commit da697da

Please sign in to comment.