github.com/arieschain/arieschain@v0.0.0-20191023063405-37c074544356/p2p/netutil/toobig_notwindows.go (about)

     1  //+build !windows
     2  
     3  package netutil
     4  
     5  // isPacketTooBig reports whether err indicates that a UDP packet didn't
     6  // fit the receive buffer. There is no such error on
     7  // non-Windows platforms.
     8  func isPacketTooBig(err error) bool {
     9  	return false
    10  }