func (socket *mongoSocket) Server() *mongoServer {
	socket.Lock()
	server := socket.server
	socket.Unlock()
	return server
}
func (socket *mongoSocket) Server() *mongoServer {
	socket.Lock()
	server := socket.server
	socket.Unlock()
	return server
}
func ( socket * mongoSocket ) Server ( ) * mongoServer { socket . Lock ( ) server := socket . server socket . Unlock ( ) return server }
// Server returns the server that the socket is associated with.
// It returns nil while the socket is cached in its respective server.
Server returns the server that the socket is associated with . It returns nil while the socket is cached in its respective server .