// pollCallback process the connection from client
pollCallback process the connection from client
// pollCallback process the connection from client
func pollCallback(fd int32) {
	value, ok := serve.Load(fd)
	if !ok {
		return
	}
	listen, ok := value.(listener)
	if !ok {
		return
	}
	ln := listen.ln
	serviceName := listen.serviceName
	conn, err := ln.Accept()
	if err != nil {
		return
	}
	getAndSetSocket(conn, false)
	go startTcpServer(conn, serviceName)
}
func pollCallback ( fd int32 ) { value , ok := serve . Load ( fd ) if ! ok { return } listen , ok := value . ( listener ) if ! ok { return } ln := listen . ln serviceName := listen . serviceName conn , err := ln . Accept ( ) if err != nil { return } getAndSetSocket ( conn , false ) go startTcpServer ( conn , serviceName ) }
pollCallback process the connection from client
pollCallback process the connection from client