// Close closes the IP connection.
Close closes the IP connection.
// Close closes the IP connection .
func (c *IPConn) Close() error {
	if !c.ok() {
		return syscall.EINVAL
	}
	err := c.fd.Close()
	c.fd = nil
	return err
}
func ( c * IPConn ) Close ( ) error { if ! c . ok ( ) { return syscall . EINVAL } err := c . fd . Close ( ) c . fd = nil return err }
Close closes the IP connection.
Close closes the IP connection .